From 620f03ca00ae2ba80fdc5a9d24550229351dae85 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Sat, 21 Feb 2026 03:23:12 -0700 Subject: [PATCH] Unset WAYFIRE_SOCKET when wayfire starts WAYFIRE_SOCKET will be inherited in nested sessions if the parent has it set and the ipc plugin is disabled in the nested instance. Unset the environment variable explicitly when wayfire starts, to avoid confused ipc clients. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index a1edd55b2..219453f4c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -508,6 +508,7 @@ int main(int argc, char *argv[]) return -1; } + unsetenv("WAYFIRE_SOCKET"); setenv("WAYLAND_DISPLAY", core.wayland_display.c_str(), 1); core.post_init();