diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-04-28 20:32:05 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-04-28 20:32:05 -0400 |
commit | a5c07dde6aba87584ddb6c6a2769472a6003623a (patch) | |
tree | 45dd827f6c8f49ca003caefb8aa990b2f368e8f5 /include | |
parent | Update .build.yml (diff) | |
download | sway-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.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 |