summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:42:10 +0100
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:54:34 +0100
commit6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc (patch)
treebc08973770f5ad6b3281db9c33c60668fa3da03b /include
parentMerge pull request #366 from mikkeloscar/fix-swaybar-high-cpu (diff)
downloadsway-6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc.tar.gz
sway-6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc.tar.zst
sway-6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc.zip
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 @@
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 {
16 wlc_handle output; 17 wlc_handle output;
17 wlc_resource surface; 18 wlc_resource surface;
18 struct wl_resource *resource; 19 // we need the wl_resource of the surface in the destructor
20 struct wl_resource *wl_surface_res;
19}; 21};
20 22
21struct desktop_shell_state { 23struct desktop_shell_state {