diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-08 22:22:35 +0200 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-05-08 22:22:35 +0200 |
commit | 119a6cf35c4163091a699d5987f8d3bab384c95e (patch) | |
tree | f7c4e3fe790c514b41e7ab5dae2063a470672846 /include/wlr | |
parent | 80586b8f6b254bff4d0701aae8d53ebfb49b876e (diff) |
Make xwayland_finish* clean up wlr_xwayland
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/xwayland.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index a802d32d..d0f37834 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -13,22 +13,26 @@ struct wlr_xwayland_cursor; struct wlr_xwayland { pid_t pid; - int display; - int x_fd[2], wl_fd[2], wm_fd[2]; - struct wl_event_source *x_fd_read_event[2]; struct wl_client *client; - struct wl_display *wl_display; - struct wlr_compositor *compositor; - time_t server_start; - bool lazy; - 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]; + + time_t server_start; - /* Anything above seat is reset on Xwayland restart, rest is conserved */ + /* Anything above display is reset on Xwayland restart, rest is conserved */ + + int display; + int x_fd[2]; + struct wl_event_source *x_fd_read_event[2]; + + bool lazy; + + struct wl_display *wl_display; + struct wlr_compositor *compositor; struct wlr_seat *seat; struct wl_listener seat_destroy; |