diff options
author | Simon Ser <contact@emersion.fr> | 2021-09-30 20:58:36 +0200 |
---|---|---|
committer | Kirill Primak <vyivel@posteo.net> | 2021-09-30 23:17:32 +0300 |
commit | 0e342083440db978463dbf43795bfed8a5a11cd6 (patch) | |
tree | 516a4169108f452ec9572852d3c16f25012766d3 /include | |
parent | db4afc240820b541bc433b76840633d2170817b9 (diff) |
xdg-shell: introduce wlr_xdg_surface.current
This holds the current state, and avoids having ad-hoc fields in
wlr_xdg_surface.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index c214769a..3df2aa96 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -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; |