Fix Xwayland cleanup

Fixes #964
This commit is contained in:
Vincent Vanlaer 2018-05-10 01:44:17 +02:00
parent f520dd8fac
commit 72a75b3a72
2 changed files with 12 additions and 1 deletions

View file

@ -16,7 +16,6 @@ struct wlr_xwayland {
struct wl_client *client;
struct wl_event_source *sigusr1_source;
struct wl_listener client_destroy;
struct wl_listener display_destroy;
struct wlr_xwm *xwm;
struct wlr_xwayland_cursor *cursor;
int wm_fd[2], wl_fd[2];
@ -28,6 +27,7 @@ struct wlr_xwayland {
int display;
int x_fd[2];
struct wl_event_source *x_fd_read_event[2];
struct wl_listener display_destroy;
bool lazy;