summaryrefslogtreecommitdiff
path: root/include/sway/surface.h
diff options
context:
space:
mode:
authorIvan Molodetskikh <[email protected]>2019-10-09 16:06:30 +0300
committerSimon Ser <[email protected]>2019-11-17 20:18:42 +0100
commit5421198489675d4700e68eb143c94cda914c8586 (patch)
tree1f4f447dba45e302f2e35e1d3de81f6fccce64d5 /include/sway/surface.h
parent022df2542baa057b1965a7c7ee9c32e738f637d2 (diff)
Add sway_surface
For extending wlr_surface with additional things.
Diffstat (limited to 'include/sway/surface.h')
-rw-r--r--include/sway/surface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/surface.h b/include/sway/surface.h
new file mode 100644
index 00000000..06874af2
--- /dev/null
+++ b/include/sway/surface.h
@@ -0,0 +1,11 @@
+#ifndef _SWAY_SURFACE_H
+#define _SWAY_SURFACE_H
+#include <wlr/types/wlr_surface.h>
+
+struct sway_surface {
+ struct wlr_surface *wlr_surface;
+
+ struct wl_listener destroy;
+};
+
+#endif