aboutsummaryrefslogtreecommitdiff
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 @@
+#ifndef _SWAY_DECORATION_H
+#define _SWAY_DECORATION_H
+
+#include <wlr/types/wlr_server_decoration.h>
+
+struct sway_server_decoration {
+ struct wlr_server_decoration *wlr_server_decoration;
+ struct wl_list link;
+
+ struct wl_listener destroy;
+ struct wl_listener mode;
+};
+
+struct sway_server_decoration *decoration_from_surface(
+ struct wlr_surface *surface);
+
+#endif