Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_window.c 


Log Message:
Now that the window is storing position correctly, don't query the X server
and incur the round trip.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_window.c        22 Mar 2006 19:46:01 -0000      1.36
+++ ewl_window.c        23 Mar 2006 03:08:03 -0000      1.37
@@ -329,6 +329,10 @@
        DCHECK_PARAM_PTR("win", win);
        DCHECK_TYPE("win", win, EWL_WINDOW_TYPE);
 
+       *x = win->x;
+       *y = win->y;
+
+#if 0
        if (REALIZED(win)) {
                int fx=0,fy=0,cx,cy;
                Ecore_X_Window window = (Ecore_X_Window)win->window;
@@ -344,10 +348,8 @@
 
                *x = fx;
                *y = fy;
-
-               /**x = win->x;
-               *y = win->y;*/
        }
+#endif
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to