Prevent lock-up with a focus loop between two top level unmanaged
windows.
This commit is contained in:
parent
63df733a0c
commit
d0a06ec7a5
|
@ -385,7 +385,7 @@ static void EVENT_FocusIn( HWND hWnd, XFocusChangeEvent *event )
|
||||||
wine_tsx11_unlock();
|
wine_tsx11_unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event->detail != NotifyPointer && hWnd != GetForegroundWindow())
|
if (event->detail != NotifyPointer && event->detail != NotifyNonlinear && hWnd != GetForegroundWindow())
|
||||||
SetForegroundWindow( hWnd );
|
SetForegroundWindow( hWnd );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue