mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
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.
This commit is contained in:
parent
d368028bd5
commit
811ca199c4
6 changed files with 69 additions and 37 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue