aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/surface.h
diff options
context:
space:
mode:
authorLibravatar Ivan Molodetskikh <yalterz@gmail.com>2019-10-09 16:06:30 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2019-11-17 20:18:42 +0100
commit5421198489675d4700e68eb143c94cda914c8586 (patch)
tree1f4f447dba45e302f2e35e1d3de81f6fccce64d5 /include/sway/surface.h
parentoutput: add max_render_time (diff)
downloadsway-5421198489675d4700e68eb143c94cda914c8586.tar.gz
sway-5421198489675d4700e68eb143c94cda914c8586.tar.zst
sway-5421198489675d4700e68eb143c94cda914c8586.zip
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 @@
1#ifndef _SWAY_SURFACE_H
2#define _SWAY_SURFACE_H
3#include <wlr/types/wlr_surface.h>
4
5struct sway_surface {
6 struct wlr_surface *wlr_surface;
7
8 struct wl_listener destroy;
9};
10
11#endif