mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-26 01:40:38 -05:00
xdg_shell: wait for initial commit to set xdg-decoration mode
Sending the xdg-decoration mode when the xdg_toplevel_decoration object is created is incorrect: we need to wait for the initial commit.
This commit is contained in:
parent
fa90174607
commit
1abf7e5a4b
2 changed files with 35 additions and 15 deletions
|
|
@ -22,6 +22,7 @@ struct cg_xdg_decoration {
|
|||
struct wlr_xdg_toplevel_decoration_v1 *wlr_decoration;
|
||||
struct cg_server *server;
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener commit;
|
||||
struct wl_listener request_mode;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue