diff options
author | Kirill Primak <vyivel@posteo.net> | 2021-09-20 17:09:38 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-21 10:09:09 +0200 |
commit | 0e2d36910612b849ca9c4868910b308c4bf49213 (patch) | |
tree | 6dcf5970c2f5ea16e19fb9f67a6822896cbf0107 /include | |
parent | b72a217fcc9f8bb47788c2068093579ac893301c (diff) |
xdg-surface: simplify configure mechanism
This commit removes any checks whether a configure will change anything
and makes configures be sent unconditionally. Additionally, configures
are scheduled on xdg_toplevel.{un,}set_{maximized,fullscreen} events.
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_xdg_shell.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 2afd564e..509b1d2c 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -13,7 +13,6 @@ struct wlr_xdg_positioner_resource { extern const struct wlr_surface_role xdg_toplevel_surface_role; extern const struct wlr_surface_role xdg_popup_surface_role; -uint32_t schedule_xdg_surface_configure(struct wlr_xdg_surface *surface); struct wlr_xdg_surface *create_xdg_surface( struct wlr_xdg_client *client, struct wlr_surface *surface, uint32_t id); @@ -41,7 +40,6 @@ void send_xdg_toplevel_configure(struct wlr_xdg_surface *surface, struct wlr_xdg_surface_configure *configure); void handle_xdg_toplevel_ack_configure(struct wlr_xdg_surface *surface, struct wlr_xdg_surface_configure *configure); -bool compare_xdg_surface_toplevel_state(struct wlr_xdg_toplevel *state); void destroy_xdg_toplevel(struct wlr_xdg_surface *surface); #endif |