Prevent lock-up with a focus loop between two top level unmanaged

windows.
oldstable
Dave Hawkes 2002-02-25 19:47:31 +00:00 committed by Alexandre Julliard
parent 63df733a0c
commit d0a06ec7a5
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ static void EVENT_FocusIn( HWND hWnd, XFocusChangeEvent *event )
wine_tsx11_unlock();
}
if (event->detail != NotifyPointer && hWnd != GetForegroundWindow())
if (event->detail != NotifyPointer && event->detail != NotifyNonlinear && hWnd != GetForegroundWindow())
SetForegroundWindow( hWnd );
}