aboutsummaryrefslogtreecommitdiffstats
path: root/include/extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extensions.h')
-rw-r--r--include/extensions.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/extensions.h b/include/extensions.h
index 311ead1d..164688ee 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -9,13 +9,18 @@
9struct background_config { 9struct background_config {
10 wlc_handle output; 10 wlc_handle output;
11 wlc_resource surface; 11 wlc_resource surface;
12 struct wl_resource *resource; 12 // we need the wl_resource of the surface in the destructor
13 struct wl_resource *wl_surface_res;
13}; 14};
14 15
15struct panel_config { 16struct panel_config {
17 // wayland resource used in callbacks, is used to track this panel
18 struct wl_resource *wl_resource;
16 wlc_handle output; 19 wlc_handle output;
17 wlc_resource surface; 20 wlc_resource surface;
18 struct wl_resource *resource; 21 // we need the wl_resource of the surface in the destructor
22 struct wl_resource *wl_surface_res;
23 enum desktop_shell_panel_position panel_position;
19}; 24};
20 25
21struct desktop_shell_state { 26struct desktop_shell_state {
@@ -23,7 +28,6 @@ struct desktop_shell_state {
23 list_t *panels; 28 list_t *panels;
24 list_t *lock_surfaces; 29 list_t *lock_surfaces;
25 bool is_locked; 30 bool is_locked;
26 enum desktop_shell_panel_position panel_position;
27 struct wlc_size panel_size; 31 struct wlc_size panel_size;
28}; 32};
29 33