Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        Ecore_X.h Makefile.am ecore_x_window_prop.c 
Added Files:
        ecore_x_mwm.c 


Log Message:


borderless hint mwm stuff PROPERLY done...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- Ecore_X.h   25 Nov 2004 05:17:17 -0000      1.75
+++ Ecore_X.h   25 Nov 2004 14:09:23 -0000      1.76
@@ -995,6 +995,44 @@
      ecore_x_icccm_title_set(Ecore_X_Window win, const char *t);
    EAPI char *
      ecore_x_icccm_title_get(Ecore_X_Window win);
+   
+   typedef enum _Ecore_X_MWM_Hint_Func
+     {
+       ECORE_X_MWM_HINT_FUNC_ALL = (1 << 0),
+       ECORE_X_MWM_HINT_FUNC_RESIZE = (1 << 1),
+       ECORE_X_MWM_HINT_FUNC_MOVE = (1 << 2),
+       ECORE_X_MWM_HINT_FUNC_MINIMIZE = (1 << 3),
+       ECORE_X_MWM_HINT_FUNC_MAXIMIZE = (1 << 4),
+       ECORE_X_MWM_HINT_FUNC_CLOSE = (1 << 5)
+     }
+   Ecore_X_MWM_Hint_Func;
+   
+   typedef enum _Ecore_X_MWM_Hint_Decor
+     {
+       ECORE_X_MWM_HINT_DECOR_ALL = (1 << 0),
+       ECORE_X_MWM_HINT_DECOR_BORDER = (1 << 1),
+       ECORE_X_MWM_HINT_DECOR_RESIZEH = (1 << 2),
+       ECORE_X_MWM_HINT_DECOR_TITLE = (1 << 3),
+       ECORE_X_MWM_HINT_DECOR_MENU = (1 << 4),
+       ECORE_X_MWM_HINT_DECOR_MINIMIZE = (1 << 5),
+       ECORE_X_MWM_HINT_DECOR_MAXIMIZE = (1 << 6)
+     }
+   Ecore_X_MWM_Hint_Decor;
+   
+   typedef enum _Ecore_X_MWM_Hint_Input
+     {
+       ECORE_X_MWM_HINT_INPUT_MODELESS = 0,
+       ECORE_X_MWM_HINT_INPUT_PRIMARY_APPLICATION_MODAL = 1,
+       ECORE_X_MWM_HINT_INPUT_SYSTEM_MODAL = 2,
+       ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL = 3,
+     }
+   Ecore_X_MWM_Hint_Input;
+   
+   EAPI int
+     ecore_x_mwm_hints_get(Ecore_X_Window win,
+                          Ecore_X_MWM_Hint_Func *fhint,
+                          Ecore_X_MWM_Hint_Decor *dhint,
+                          Ecore_X_MWM_Hint_Input *ihint);
        
    EAPI void                ecore_x_netwm_init(void);
    EAPI void                ecore_x_netwm_wm_identify(Ecore_X_Window root, 
Ecore_X_Window check, const char *wm_name);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 2 Nov 2004 04:03:27 -0000       1.14
+++ Makefile.am 25 Nov 2004 14:09:24 -0000      1.15
@@ -28,6 +28,7 @@
 ecore_x_events.c \
 ecore_x_icccm.c \
 ecore_x_netwm.c \
+ecore_x_mwm.c \
 ecore_x_selection.c \
 ecore_x_window.c \
 ecore_x_window_prop.c \
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- ecore_x_window_prop.c       24 Nov 2004 08:52:22 -0000      1.52
+++ ecore_x_window_prop.c       25 Nov 2004 14:09:24 -0000      1.53
@@ -824,9 +824,9 @@
    data[2] = !borderless;
    
    ecore_x_window_prop_property_set(win, 
-                                        _ecore_x_atom_motif_wm_hints,
-                                        _ecore_x_atom_motif_wm_hints,
-                                        32, (void *)data, 5);
+                                   _ecore_x_atom_motif_wm_hints,
+                                   _ecore_x_atom_motif_wm_hints,
+                                   32, (void *)data, 5);
 }
 
 /**




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to