diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-20 07:47:38 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-23 22:03:49 +0200 |
commit | fa0e1015c6f06f08fe368f89af511ef646f0bc99 (patch) | |
tree | 9e22da19d54e22bd72c014eefebc6963c7b63c2f /xwayland/xwayland.c | |
parent | 6eb20fb8d28749e0b710a54daa1b916080cf4ea1 (diff) |
xwm: fix minimal init, this gets us some events on window creations
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r-- | xwayland/xwayland.c | 3 |
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); |