diff options
author | emersion <contact@emersion.fr> | 2018-07-29 18:31:10 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-06 15:20:30 +0100 |
commit | 9d578e0a0f08e053dfc1982e32d9fda172b0087f (patch) | |
tree | 941f76c80794a5665264bd65ea1467490b1d615e /include/sway/decoration.h | |
parent | Listen to server-decoration mode changes (diff) | |
download | sway-9d578e0a0f08e053dfc1982e32d9fda172b0087f.tar.gz sway-9d578e0a0f08e053dfc1982e32d9fda172b0087f.tar.zst sway-9d578e0a0f08e053dfc1982e32d9fda172b0087f.zip |
Handle views created after decoration mode is sent for xdg-shell
Diffstat (limited to 'include/sway/decoration.h')
-rw-r--r-- | include/sway/decoration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/decoration.h b/include/sway/decoration.h index c77c04c7..7916746e 100644 --- a/include/sway/decoration.h +++ b/include/sway/decoration.h | |||
@@ -5,9 +5,13 @@ | |||
5 | 5 | ||
6 | struct sway_server_decoration { | 6 | struct sway_server_decoration { |
7 | struct wlr_server_decoration *wlr_server_decoration; | 7 | struct wlr_server_decoration *wlr_server_decoration; |
8 | struct wl_list link; | ||
8 | 9 | ||
9 | struct wl_listener destroy; | 10 | struct wl_listener destroy; |
10 | struct wl_listener mode; | 11 | struct wl_listener mode; |
11 | }; | 12 | }; |
12 | 13 | ||
14 | struct sway_server_decoration *decoration_from_surface( | ||
15 | struct wlr_surface *surface); | ||
16 | |||
13 | #endif | 17 | #endif |