summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-04-28 20:32:05 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-04-28 20:32:05 -0400
commita5c07dde6aba87584ddb6c6a2769472a6003623a (patch)
tree45dd827f6c8f49ca003caefb8aa990b2f368e8f5 /include
parentUpdate .build.yml (diff)
downloadsway-a5c07dde6aba87584ddb6c6a2769472a6003623a.tar.gz
sway-a5c07dde6aba87584ddb6c6a2769472a6003623a.tar.zst
sway-a5c07dde6aba87584ddb6c6a2769472a6003623a.zip
Implement KDE's server-side decoration protocol
Diffstat (limited to 'include')
-rw-r--r--include/sway/extensions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/extensions.h b/include/sway/extensions.h
index f6b0c00e..5212eb3a 100644
--- a/include/sway/extensions.h
+++ b/include/sway/extensions.h
@@ -42,8 +42,15 @@ struct swaylock_state {
42 wlc_resource surface; 42 wlc_resource surface;
43}; 43};
44 44
45struct decoration_state {
46 list_t *csd_resources;
47};
48
45extern struct desktop_shell_state desktop_shell; 49extern struct desktop_shell_state desktop_shell;
50extern struct decoration_state decoration_state;
46 51
47void register_extensions(void); 52void register_extensions(void);
48 53
54void server_decoration_enable_csd(wlc_handle handle);
55
49#endif 56#endif