aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:42:10 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:54:34 +0100
commit6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc (patch)
treebc08973770f5ad6b3281db9c33c60668fa3da03b /include
parent3777c8993b8967aa3fd313c2c7a9304a798efa37 (diff)
downloadsway-6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc.tar.xz
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 {