diff options
Diffstat (limited to 'include/sway/layers.h')
-rw-r--r-- | include/sway/layers.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/sway/layers.h b/include/sway/layers.h new file mode 100644 index 00000000..73fb7cb8 --- /dev/null +++ b/include/sway/layers.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef _SWAY_LAYERS_H | ||
2 | #define _SWAY_LAYERS_H | ||
3 | #include <stdbool.h> | ||
4 | #include <wlr/types/wlr_box.h> | ||
5 | #include <wlr/types/wlr_surface.h> | ||
6 | #include <wlr/types/wlr_layer_shell.h> | ||
7 | |||
8 | struct sway_layer_surface { | ||
9 | struct wlr_layer_surface *layer_surface; | ||
10 | struct wl_list link; | ||
11 | |||
12 | struct wl_listener destroy; | ||
13 | struct wl_listener map; | ||
14 | struct wl_listener unmap; | ||
15 | struct wl_listener surface_commit; | ||
16 | struct wl_listener output_destroy; | ||
17 | struct wl_listener output_mode; | ||
18 | struct wl_listener output_transform; | ||
19 | |||
20 | bool configured; | ||
21 | struct wlr_box geo; | ||
22 | }; | ||
23 | |||
24 | #endif | ||