mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xdg-shell: introduce wlr_xdg_surface.current
This holds the current state, and avoids having ad-hoc fields in wlr_xdg_surface.
This commit is contained in:
parent
db4afc2408
commit
0e34208344
4 changed files with 14 additions and 25 deletions
|
|
@ -191,14 +191,11 @@ struct wlr_xdg_surface {
|
|||
struct wl_list popups; // wlr_xdg_popup::link
|
||||
|
||||
bool added, configured, mapped;
|
||||
uint32_t configure_serial;
|
||||
struct wl_event_source *configure_idle;
|
||||
uint32_t configure_next_serial;
|
||||
struct wl_list configure_list;
|
||||
|
||||
struct wlr_box geometry;
|
||||
|
||||
struct wlr_xdg_surface_state pending;
|
||||
struct wlr_xdg_surface_state current, pending;
|
||||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener surface_commit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue