Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: desktops.c moveresize.c Log Message: Fix focus when dragging window through area/desk switch. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v retrieving revision 1.220 retrieving revision 1.221 diff -u -3 -r1.220 -r1.221 --- desktops.c 16 Jan 2006 12:17:56 -0000 1.220 +++ desktops.c 2 Feb 2006 22:34:06 -0000 1.221 @@ -1327,9 +1327,10 @@ DeskEnter(dsk); } - DeskSwitchDone(); ActionsResume(); + DeskSwitchDone(); + ModulesSignal(ESIGNAL_DESK_SWITCH_DONE, NULL); if (EventDebug(EDBUG_TYPE_DESKS)) @@ -1783,9 +1784,10 @@ /* set hints up for it */ HintsSetDesktopViewport(); + ActionsResume(); + /* re-focus on a new ewin on that new desktop area */ DeskSwitchDone(); - ActionsResume(); ModulesSignal(ESIGNAL_AREA_SWITCH_DONE, DesksGetCurrent()); =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/moveresize.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -3 -r1.61 -r1.62 --- moveresize.c 2 Feb 2006 18:38:03 -0000 1.61 +++ moveresize.c 2 Feb 2006 22:34:06 -0000 1.62 @@ -170,6 +170,7 @@ if (Mode_mr.mode > 0) { + FocusEnable(1); EUngrabServer(); ModulesSignal(ESIGNAL_ANIMATION_RESUME, NULL); } @@ -438,6 +439,7 @@ if (Mode_mr.mode > 0) { EGrabServer(); + FocusEnable(0); ModulesSignal(ESIGNAL_ANIMATION_SUSPEND, NULL); } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs