mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwm: fix lists
This commit is contained in:
parent
fa94a06fd6
commit
79e14f65e0
3 changed files with 66 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue