Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: focus.c Log Message: Fix focus on click in certain situations (broken recently). =================================================================== RCS file: /cvs/e/e16/e/src/focus.c,v retrieving revision 1.167 retrieving revision 1.168 diff -u -3 -r1.167 -r1.168 --- focus.c 11 Jul 2007 09:30:58 -0000 1.167 +++ focus.c 18 Jul 2007 11:08:21 -0000 1.168 @@ -212,7 +212,8 @@ { int set = 0; - if (Conf.focus.clickraises && !EwinListStackIsRaised(ewin)) + if ((Conf.focus.clickraises && !EwinListStackIsRaised(ewin)) || + (!ewin->state.active && FocusEwinValid(ewin, 0, 1, 0))) set = 1; if (set) @@ -423,6 +424,8 @@ SoundPlay("SOUND_FOCUS_SET"); done: + + ClickGrabsUpdate(); /* Unset old focus window (if any) highlighting */ if (Mode.focuswin) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs