diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-07 00:48:02 +0200 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-07 00:48:02 +0200 |
commit | 80586b8f6b254bff4d0701aae8d53ebfb49b876e (patch) | |
tree | 6caf75d28ae7510c10e90653d8c15538377fc3d9 /xwayland | |
parent | 446ea3a3408e2d735aaa77059745f82943bc67d2 (diff) |
Clean up events
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/xwayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index d70795e4..511eb6fc 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -265,6 +265,8 @@ static int xwayland_socket_connected(int fd, uint32_t mask, void* data){ wl_event_source_remove(wlr_xwayland->x_fd_read_event[0]); wl_event_source_remove(wlr_xwayland->x_fd_read_event[1]); + wlr_xwayland->x_fd_read_event[0] = wlr_xwayland->x_fd_read_event[1] = NULL; + xwayland_start_server(wlr_xwayland); return 0; |