diff options
Diffstat (limited to 'include/sway/xdg_decoration.h')
-rw-r--r-- | include/sway/xdg_decoration.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/sway/xdg_decoration.h b/include/sway/xdg_decoration.h new file mode 100644 index 00000000..8bef4c6d --- /dev/null +++ b/include/sway/xdg_decoration.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #ifndef _SWAY_XDG_DECORATION_H | ||
2 | #define _SWAY_XDG_DECORATION_H | ||
3 | |||
4 | #include <wlr/types/wlr_xdg_decoration_v1.h> | ||
5 | |||
6 | struct sway_xdg_decoration { | ||
7 | struct wlr_xdg_toplevel_decoration_v1 *wlr_xdg_decoration; | ||
8 | struct wl_list link; | ||
9 | |||
10 | struct sway_view *view; | ||
11 | |||
12 | struct wl_listener destroy; | ||
13 | struct wl_listener request_mode; | ||
14 | }; | ||
15 | |||
16 | struct sway_xdg_decoration *xdg_decoration_from_surface( | ||
17 | struct wlr_surface *surface); | ||
18 | |||
19 | #endif | ||