summaryrefslogtreecommitdiffstats
path: root/include/sway/decoration.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/decoration.h')
-rw-r--r--include/sway/decoration.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sway/decoration.h b/include/sway/decoration.h
new file mode 100644
index 00000000..7916746e
--- /dev/null
+++ b/include/sway/decoration.h
@@ -0,0 +1,17 @@
1#ifndef _SWAY_DECORATION_H
2#define _SWAY_DECORATION_H
3
4#include <wlr/types/wlr_server_decoration.h>
5
6struct sway_server_decoration {
7 struct wlr_server_decoration *wlr_server_decoration;
8 struct wl_list link;
9
10 struct wl_listener destroy;
11 struct wl_listener mode;
12};
13
14struct sway_server_decoration *decoration_from_surface(
15 struct wlr_surface *surface);
16
17#endif