devilhorns pushed a commit to branch master.
commit a719bdc39ccf5f0f035efccd5beca3de577a117c
Author: Chris Michael <[email protected]>
Date: Fri Apr 12 09:21:33 2013 +0100
Add popup fields to the shell surface structure.
Signed-off-by: Chris Michael <[email protected]>
---
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 8251854..6b28375 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;
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter