From a3f27546681a6a92e1e37ed7692428c36b486a8e Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Tue, 24 Oct 2017 12:00:43 -0400 Subject: xwm: add surface to rootston on surface commit --- include/wlr/xwayland.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index c25d0eb0..0398ff28 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -66,14 +66,16 @@ struct wlr_xwayland_surface_size_hints { struct wlr_xwayland_surface { xcb_window_t window_id; + struct wlr_xwm *xwm; uint32_t surface_id; struct wl_list link; struct wlr_surface *surface; - struct wl_listener surface_destroy_listener; int16_t x, y; uint16_t width, height; bool override_redirect; + bool mapped; + bool added; char *title; char *class; @@ -95,9 +97,7 @@ struct wlr_xwayland_surface { struct { struct wl_signal destroy; - struct wl_signal request_configure; - struct wl_signal set_title; struct wl_signal set_class; struct wl_signal set_parent; @@ -106,6 +106,9 @@ struct wlr_xwayland_surface { struct wl_signal set_window_type; } events; + struct wl_listener surface_destroy; + struct wl_listener surface_commit; + void *data; }; -- cgit v1.2.3