diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-24 14:37:18 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-24 14:37:18 -0400 |
commit | 79e14f65e0a005b1ab47b294dd2368cb3d55cb33 (patch) | |
tree | 7dae7ef1c23aeda0fe00735ca11d2a2308b75c33 /include | |
parent | fa94a06fd6141a82697a0ae1ba548686f325da45 (diff) |
xwm: fix lists
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/xwayland.h | 11 |
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; |