From a719bdc39ccf5f0f035efccd5beca3de577a117c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 12 Apr 2013 09:21:33 +0100 Subject: [PATCH] Add popup fields to the shell surface structure. Signed-off-by: Chris Michael --- src/bin/e_comp_wl.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h index 825185404..6b28375bb 100644 --- a/src/bin/e_comp_wl.h +++ b/src/bin/e_comp_wl.h @@ -137,7 +137,17 @@ struct _E_Wayland_Shell_Surface Eina_Bool valid : 1; } saved; - E_Wayland_Surface *surface; + struct + { + struct wl_pointer_grab grab; + struct wl_seat *seat; + struct wl_listener parent_destroy; + int x, y; + Eina_Bool up : 1; + unsigned int serial; + } popup; + + E_Wayland_Surface *surface, *parent; E_Wayland_Shell_Surface_Type type, next_type; char *title, *clas;