mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xdg-surface: fix init state flow
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3677
This commit is contained in:
parent
016494af1b
commit
0fdbdc36c0
4 changed files with 19 additions and 10 deletions
|
|
@ -166,7 +166,6 @@ struct wlr_xdg_toplevel_requested {
|
|||
struct wlr_xdg_toplevel {
|
||||
struct wl_resource *resource;
|
||||
struct wlr_xdg_surface *base;
|
||||
bool sent_initial_configure;
|
||||
|
||||
struct wlr_xdg_toplevel *parent;
|
||||
struct wl_listener parent_unmap;
|
||||
|
|
@ -257,6 +256,9 @@ struct wlr_xdg_surface {
|
|||
|
||||
struct wlr_xdg_surface_state current, pending;
|
||||
|
||||
bool initialized;
|
||||
bool initial_commit;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
struct wl_signal ping_timeout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue