aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r--xwayland/xwayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c
index e998db28..a7047369 100644
--- a/xwayland/xwayland.c
+++ b/xwayland/xwayland.c
@@ -138,6 +138,9 @@ static int xserver_handle_ready(int signal_number, void *data) {
return 1;
}
+ wl_event_source_remove(wlr_xwayland->sigusr1_source);
+ wlr_xwayland->sigusr1_source = NULL;
+
char display_name[16];
snprintf(display_name, sizeof(display_name), ":%d", wlr_xwayland->display);
setenv("DISPLAY", display_name, true);