aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/decoration.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-29 18:31:10 +0100
committerLibravatar emersion <contact@emersion.fr>2018-08-06 15:20:30 +0100
commit9d578e0a0f08e053dfc1982e32d9fda172b0087f (patch)
tree941f76c80794a5665264bd65ea1467490b1d615e /include/sway/decoration.h
parentListen to server-decoration mode changes (diff)
downloadsway-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.h4
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
6struct sway_server_decoration { 6struct 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
14struct sway_server_decoration *decoration_from_surface(
15 struct wlr_surface *surface);
16
13#endif 17#endif