Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/ecore

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


Modified Files:
        Ecore_X.h ecore_x.c 


Log Message:
Some hackish bits to enable cleaner e17 shutdown.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- Ecore_X.h   4 Jan 2005 21:54:04 -0000       1.89
+++ Ecore_X.h   5 Jan 2005 23:35:16 -0000       1.90
@@ -1179,7 +1179,10 @@
    EAPI void
      ecore_x_window_button_ungrab(Ecore_X_Window win, int button,
                                  int mod, int any_mod);
-       
+
+   EAPI void ecore_x_focus_reset(void);
+   EAPI void ecore_x_events_allow_all(void);
+
 #ifdef __cplusplus
 }
 #endif
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- ecore_x.c   4 Jan 2005 13:43:27 -0000       1.62
+++ ecore_x.c   5 Jan 2005 23:35:16 -0000       1.63
@@ -1368,6 +1368,18 @@
     return XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev);
 }
 
+void
+ecore_x_focus_reset(void)
+{
+   XSetInputFocus(_ecore_x_disp, PointerRoot, RevertToPointerRoot, 
CurrentTime);
+}
+
+void
+ecore_x_events_allow_all(void)
+{
+   XAllowEvents(_ecore_x_disp, AsyncBoth, CurrentTime);
+}
+
 
 /*****************************************************************************/
 /*****************************************************************************/




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to