forked from e16/e16
1
0
Fork 0

Another attempt to fix pointer focus breakage.

SVN revision: 51582
This commit is contained in:
Kim Woelders 2010-08-23 16:55:46 +00:00
parent a0e1b55b37
commit c7b7bb107e
1 changed files with 7 additions and 7 deletions

View File

@ -617,13 +617,6 @@ FocusHandleEnter(EWin * ewin, XEvent * ev)
ev->xcrossing.detail == NotifyNonlinearVirtual)
return;
if (!ewin)
{
/* Entering root may mean entering this screen */
FocusToEWin(NULL, FOCUS_DESK_ENTER);
return;
}
if ((int)ev->xcrossing.serial - focus_request < 0)
{
/* This event was caused by a request older than the latest
@ -633,6 +626,13 @@ FocusHandleEnter(EWin * ewin, XEvent * ev)
return;
}
if (!ewin)
{
/* Entering root may mean entering this screen */
FocusToEWin(NULL, FOCUS_DESK_ENTER);
return;
}
switch (Conf.focus.mode)
{
default: