From 6db0f6f80f75f7e141e3a8b0c19fa317354bf5cc Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Sun, 20 Dec 2015 12:42:10 +0100 Subject: extensions: panel_config->resource => wl_surface_res. Change the name to something less ambigious. --- include/extensions.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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 { -- cgit v1.2.3