Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

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


Modified Files:
        ecore_x_window.c 


Log Message:


follow x icccm focus model explicitly

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- ecore_x_window.c    10 Jun 2005 04:18:24 -0000      1.39
+++ ecore_x_window.c    17 Jun 2005 06:13:54 -0000      1.40
@@ -403,7 +403,8 @@
 ecore_x_window_focus(Ecore_X_Window win)
 {
    if (win == 0) win = DefaultRootWindow(_ecore_x_disp);   
-   XSetInputFocus(_ecore_x_disp, win, RevertToNone, CurrentTime);
+//   XSetInputFocus(_ecore_x_disp, win, RevertToNone, CurrentTime);
+   XSetInputFocus(_ecore_x_disp, win, PointerRoot, CurrentTime);
 }
 
 /**
@@ -416,7 +417,8 @@
 ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t)
 {
    if (win == 0) win = DefaultRootWindow(_ecore_x_disp);   
-   XSetInputFocus(_ecore_x_disp, win, RevertToNone, t);
+//   XSetInputFocus(_ecore_x_disp, win, RevertToNone, t);
+   XSetInputFocus(_ecore_x_disp, win, PointerRoot, t);
 }
 
 /**




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to