aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-20 07:47:38 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-23 22:03:49 +0200
commitfa0e1015c6f06f08fe368f89af511ef646f0bc99 (patch)
tree9e22da19d54e22bd72c014eefebc6963c7b63c2f /xwayland/xwayland.c
parent6eb20fb8d28749e0b710a54daa1b916080cf4ea1 (diff)
xwm: fix minimal init, this gets us some events on window creations
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);