aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-24 12:00:43 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-24 12:00:43 -0400
commita3f27546681a6a92e1e37ed7692428c36b486a8e (patch)
treec5b6b97c229c07117ff2331a3bf21bc83eb42077 /include/wlr/xwayland.h
parentc666d34d2d09d8a3536901881ef31450fcdf696a (diff)
xwm: add surface to rootston on surface commit
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r--include/wlr/xwayland.h9
1 files changed, 6 insertions, 3 deletions
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;
};