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