Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_events.c 


Log Message:
i prefer not trusting the priority in test
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_events.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_events.c        25 Apr 2005 05:44:19 -0000      1.3
+++ ewl_events.c        25 Apr 2005 06:18:17 -0000      1.4
@@ -203,12 +203,12 @@
        /*
         * Save coords and queue a configure event if the window is moved.
         */
-       if (ev->x && ev->x != window->x) {
+       if (ev->x && (ev->x != window->x)) {
                window->x = ev->x;
                ewl_widget_configure(EWL_WIDGET(window));
        }
 
-       if (ev->y && ev->y != window->y) {
+       if (ev->y && (ev->y != window->y)) {
                window->y = ev->y;
                ewl_widget_configure(EWL_WIDGET(window));
        }
@@ -216,7 +216,7 @@
        /*
         * Configure events really only need to occur on resize.
         */
-       if (CURRENT_W(window) != ev->w || CURRENT_H(window) != ev->h) {
+       if ((CURRENT_W(window) != ev->w) || (CURRENT_H(window) != ev->h)) {
                window->flags |= EWL_WINDOW_USER_CONFIGURE;
                ewl_object_geometry_request(EWL_OBJECT(window), 0, 0, ev->w,
                                            ev->h);




-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to