aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-12-20 12:42:10 +0100
committerFurkan Sahin <furkan-dev@proton.me>2015-12-20 12:42:10 +0100
commit5cf65b66916a5bee3ac2bae1c40803099b3af7f8 (patch)
treebc08973770f5ad6b3281db9c33c60668fa3da03b /include
parent1d283c6aafd5003e112fd09cbf24b1dfeef212e2 (diff)
extensions: panel_config->resource => wl_surface_res.
Change the name to something less ambigious.
Diffstat (limited to 'include')
-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 {