diff options
author | 2017-06-14 19:02:15 -0400 | |
---|---|---|
committer | 2017-06-14 19:02:15 -0400 | |
commit | 4e663ab44f5320f20ec2376f24ea1eb3b458f2c2 (patch) | |
tree | dcb3b74f1dde93bce8657b7509662ffd7db667d0 /include/sway/extensions.h | |
parent | Merge pull request #1234 from 4e554c4c/tray (diff) | |
parent | Merge branch 'master' into server-decoration (diff) | |
download | sway-0.14-rc1.tar.gz sway-0.14-rc1.tar.zst sway-0.14-rc1.zip |
Implement KDE's server-side decoration protocol
Diffstat (limited to 'include/sway/extensions.h')
-rw-r--r-- | include/sway/extensions.h | 7 |
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 | ||
45 | struct decoration_state { | ||
46 | list_t *csd_resources; | ||
47 | }; | ||
48 | |||
45 | extern struct desktop_shell_state desktop_shell; | 49 | extern struct desktop_shell_state desktop_shell; |
50 | extern struct decoration_state decoration_state; | ||
46 | 51 | ||
47 | void register_extensions(void); | 52 | void register_extensions(void); |
48 | 53 | ||
54 | void server_decoration_enable_csd(wlc_handle handle); | ||
55 | |||
49 | #endif | 56 | #endif |