Handle views created after decoration mode is sent for xdg-shell

This commit is contained in:
emersion 2018-07-29 18:31:10 +01:00
parent 700941dde8
commit 9d578e0a0f
6 changed files with 61 additions and 4 deletions

View file

@ -5,9 +5,13 @@
struct sway_server_decoration {
struct wlr_server_decoration *wlr_server_decoration;
struct wl_list link;
struct wl_listener destroy;
struct wl_listener mode;
};
struct sway_server_decoration *decoration_from_surface(
struct wlr_surface *surface);
#endif