summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland/ecore_wl_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-07 14:46:14 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-07 14:50:00 -0500
commit080b9e473064e84af804a9fdc2148891327b59f7 (patch)
treef97958ef053043409bbbd70781acbe5ebd24a279 /src/lib/ecore_wayland/ecore_wl_private.h
parentd136391108deaf4725b9fc9c4836b59b45892ad7 (diff)
ecore-wayland: Simplify opaque and input region handling.
Summary: We can make opaque and input region handling simplier if we just use one opaque & input region per window. Previous code would always create a new region, set it to the surface, then destroy it. This code works much nicer in that it hammers the protocol with less region create/destroy calls. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h
index eacc22ff98..52b7a9b509 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -117,6 +117,9 @@ struct _Ecore_Wl_Window
117 int ivi_surface_id; 117 int ivi_surface_id;
118# endif 118# endif
119 119
120 struct wl_region *opaque_region;
121 struct wl_region *input_region;
122
120 struct xdg_surface *xdg_surface; 123 struct xdg_surface *xdg_surface;
121 struct xdg_popup *xdg_popup; 124 struct xdg_popup *xdg_popup;
122 Eina_Bool focused : 1; 125 Eina_Bool focused : 1;