aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-11-23 16:10:39 +0300
committerIsaac Freund <mail@isaacfreund.com>2024-02-06 13:48:00 +0000
commit811ca199c444525dc4d846d38f76554f1a9b48b0 (patch)
treee112771de2f19c88d19bd42947908159863b3c08 /include
parentd368028bd5557810af954ef96bf0f4addd97f551 (diff)
xdg-shell: drop automatic surface configuration
Compositors now are expected to wait for an initial commit by checking wlr_xdg_surface.initial_commit on every surface commit and send (schedule) configure events manually.
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_xdg_shell.h2
-rw-r--r--include/wlr/types/wlr_xdg_shell.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h
index f3f12ec9..1b4c89c2 100644
--- a/include/types/wlr_xdg_shell.h
+++ b/include/types/wlr_xdg_shell.h
@@ -21,7 +21,6 @@ void create_xdg_popup(struct wlr_xdg_surface *surface,
void reset_xdg_popup(struct wlr_xdg_popup *popup);
void destroy_xdg_popup(struct wlr_xdg_popup *popup);
void handle_xdg_popup_client_commit(struct wlr_xdg_popup *popup);
-void handle_xdg_popup_committed(struct wlr_xdg_popup *popup);
struct wlr_xdg_popup_configure *send_xdg_popup_configure(
struct wlr_xdg_popup *popup);
void handle_xdg_popup_ack_configure(struct wlr_xdg_popup *popup,
@@ -32,7 +31,6 @@ void create_xdg_toplevel(struct wlr_xdg_surface *surface,
void reset_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
void destroy_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
void handle_xdg_toplevel_client_commit(struct wlr_xdg_toplevel *toplevel);
-void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel);
struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure(
struct wlr_xdg_toplevel *toplevel);
void handle_xdg_toplevel_ack_configure(struct wlr_xdg_toplevel *toplevel,
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h
index 5c490455..e5b75c57 100644
--- a/include/wlr/types/wlr_xdg_shell.h
+++ b/include/wlr/types/wlr_xdg_shell.h
@@ -95,7 +95,6 @@ struct wlr_xdg_popup {
struct wl_list link;
struct wl_resource *resource;
- bool sent_initial_configure;
struct wlr_surface *parent;
struct wlr_seat *seat;