devilhorns pushed a commit to branch devs/devilhorns/wayland.

commit 71d7271024769b500a5e33804a1aad7ec142b126
Author: Chris Michael <[email protected]>
Date:   Thu Mar 7 13:44:11 2013 +0000

    Add an enum for shell surface type.
    Add shell surface type member to shell surface structure.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index 3cc5306..f3a90a4 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -20,6 +20,7 @@
 
 /* local structures */
 typedef enum _E_Wayland_Compositor_State E_Wayland_Compositor_State;
+typedef enum _E_Wayland_Shell_Surface_Type E_Wayland_Shell_Surface_Type;
 typedef struct _E_Wayland_Surface E_Wayland_Surface;
 typedef struct _E_Wayland_Shell_Surface E_Wayland_Shell_Surface;
 typedef struct _E_Wayland_Shell_Interface E_Wayland_Shell_Interface;
@@ -34,6 +35,16 @@ enum _E_Wayland_Compositor_State
      E_WAYLAND_COMPOSITOR_STATE_SLEEPING
 };
 
+enum _E_Wayland_Shell_Surface_Type
+{
+   E_WAYLAND_SHELL_SURFACE_NONE,
+     E_WAYLAND_SHELL_SURFACE_TOPLEVEL,
+     E_WAYLAND_SHELL_SURFACE_TRANSIENT,
+     E_WAYLAND_SHELL_SURFACE_FULLSCREEM,
+     E_WAYLAND_SHELL_SURFACE_MAXIMIZED,
+     E_WAYLAND_SHELL_SURFACE_POPUP
+};
+
 struct _E_Wayland_Surface
 {
    struct 
@@ -72,6 +83,7 @@ struct _E_Wayland_Shell_Surface
      } wl;
 
    E_Wayland_Surface *surface;
+   E_Wayland_Shell_Surface_Type type;
 };
 
 struct _E_Wayland_Shell_Interface

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to