aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index d4590f97..b6671de1 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -22,16 +22,18 @@ struct wlr_xwayland {
struct wl_client *client;
struct wl_display *wl_display;
struct wlr_compositor *compositor;
- struct wlr_seat *seat;
time_t server_start;
struct wl_event_source *sigusr1_source;
struct wl_listener client_destroy;
struct wl_listener display_destroy;
- struct wl_listener seat_destroy;
struct wlr_xwm *xwm;
struct wlr_xwayland_cursor *cursor;
+ /* Anything above seat is reset on Xwayland restart, rest is conserved */
+ struct wlr_seat *seat;
+ struct wl_listener seat_destroy;
+
struct {
struct wl_signal ready;
struct wl_signal new_surface;