aboutsummaryrefslogtreecommitdiff
path: root/include/extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extensions.h')
-rw-r--r--include/extensions.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/extensions.h b/include/extensions.h
index 311ead1d..67c7d5fe 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -9,13 +9,15 @@
struct background_config {
wlc_handle output;
wlc_resource surface;
- struct wl_resource *resource;
+ // we need the wl_resource of the surface in the destructor
+ struct wl_resource *wl_surface_res;
};
struct panel_config {
wlc_handle output;
wlc_resource surface;
- struct wl_resource *resource;
+ // we need the wl_resource of the surface in the destructor
+ struct wl_resource *wl_surface_res;
};
struct desktop_shell_state {