aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r--include/wlr/xwayland.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 0398ff28..2cd1db92 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -25,7 +25,7 @@ struct wlr_xwayland {
struct wl_event_source *sigusr1_source;
struct wl_listener destroy_listener;
struct wlr_xwm *xwm;
- struct wl_list displayable_surfaces;
+ struct wl_list displayable_surfaces; // wlr_xwayland_surface::displayable_link
struct {
struct wl_signal new_surface;
@@ -68,7 +68,14 @@ struct wlr_xwayland_surface {
xcb_window_t window_id;
struct wlr_xwm *xwm;
uint32_t surface_id;
- struct wl_list link;
+
+ struct wl_list displayable_link;
+ // XXX: I think this is just a list of all the surfaces
+ struct wl_list new_link;
+ struct wl_list unpaired_link;
+ bool displayable;
+ bool unpaired;
+
struct wlr_surface *surface;
int16_t x, y;