Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_events.c Log Message: Only store position changes from the window manager, not the real configure events relative to the reparenting window. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_events.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ewl_events.c 13 Mar 2006 15:01:20 -0000 1.23 +++ ewl_events.c 23 Mar 2006 02:58:54 -0000 1.24 @@ -229,15 +229,14 @@ /* * Save coords and queue a configure event if the window is moved. */ - if ((ev->x != window->x)) { + if ((ev->from_wm) && (ev->x != window->x)) { window->x = ev->x; + printf("Window %p x position %d\n", window, ev->x); } - if ((ev->y != window->y)) { + if ((ev->from_wm) && (ev->y != window->y)) { window->y = ev->y; - - - + printf("Window %p y position %d\n", window, ev->y); } ewl_widget_configure(EWL_WIDGET(window)); ------------------------------------------------------- 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