Prevent lock-up with a focus loop between two top level unmanaged windows.
diff --git a/windows/x11drv/event.c b/windows/x11drv/event.c index 530db1f..e9022e9 100644 --- a/windows/x11drv/event.c +++ b/windows/x11drv/event.c
@@ -385,7 +385,7 @@ wine_tsx11_unlock(); } - if (event->detail != NotifyPointer && hWnd != GetForegroundWindow()) + if (event->detail != NotifyPointer && event->detail != NotifyNonlinear && hWnd != GetForegroundWindow()) SetForegroundWindow( hWnd ); }