diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-12-20 12:42:10 +0100 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-12-20 12:54:34 +0100 |
commit | 6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc (patch) | |
tree | bc08973770f5ad6b3281db9c33c60668fa3da03b /include/extensions.h | |
parent | Merge pull request #366 from mikkeloscar/fix-swaybar-high-cpu (diff) | |
download | sway-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/extensions.h')
-rw-r--r-- | include/extensions.h | 6 |
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 @@ | |||
9 | struct background_config { | 9 | struct 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 | ||
15 | struct panel_config { | 16 | struct 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 | ||
21 | struct desktop_shell_state { | 23 | struct desktop_shell_state { |