diff options
author | Ivan Molodetskikh <yalterz@gmail.com> | 2019-10-09 16:06:30 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-17 20:18:42 +0100 |
commit | 5421198489675d4700e68eb143c94cda914c8586 (patch) | |
tree | 1f4f447dba45e302f2e35e1d3de81f6fccce64d5 /include/sway/surface.h | |
parent | output: add max_render_time (diff) | |
download | sway-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.h | 11 |
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 | |||
5 | struct sway_surface { | ||
6 | struct wlr_surface *wlr_surface; | ||
7 | |||
8 | struct wl_listener destroy; | ||
9 | }; | ||
10 | |||
11 | #endif | ||