Commit d0a06ec7 authored by Dave Hawkes's avatar Dave Hawkes Committed by Alexandre Julliard

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

windows.
parent 63df733a
...@@ -385,7 +385,7 @@ static void EVENT_FocusIn( HWND hWnd, XFocusChangeEvent *event ) ...@@ -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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment