diff options
author | emersion <contact@emersion.fr> | 2018-07-13 21:53:56 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-06 15:20:30 +0100 |
commit | 700941dde8d270b7986bd592fcb42333e7626718 (patch) | |
tree | a7596009b90165dbd34b01598a704a2801a7e73c /include/sway/decoration.h | |
parent | Merge pull request #2422 from ggreer/compiler-errors (diff) | |
download | sway-700941dde8d270b7986bd592fcb42333e7626718.tar.gz sway-700941dde8d270b7986bd592fcb42333e7626718.tar.zst sway-700941dde8d270b7986bd592fcb42333e7626718.zip |
Listen to server-decoration mode changes
Diffstat (limited to 'include/sway/decoration.h')
-rw-r--r-- | include/sway/decoration.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/sway/decoration.h b/include/sway/decoration.h new file mode 100644 index 00000000..c77c04c7 --- /dev/null +++ b/include/sway/decoration.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef _SWAY_DECORATION_H | ||
2 | #define _SWAY_DECORATION_H | ||
3 | |||
4 | #include <wlr/types/wlr_server_decoration.h> | ||
5 | |||
6 | struct sway_server_decoration { | ||
7 | struct wlr_server_decoration *wlr_server_decoration; | ||
8 | |||
9 | struct wl_listener destroy; | ||
10 | struct wl_listener mode; | ||
11 | }; | ||
12 | |||
13 | #endif | ||