commit | d0a06ec7a5864cd78209c737edaa4d97624dbeed | [log] [tgz] |
---|---|---|
author | Dave Hawkes <daveh-wine@cadlink.com> | Mon Feb 25 19:47:31 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Feb 25 19:47:31 2002 +0000 |
tree | aaf9c97639d7f76b22f2a881943fc0a0a34d5df7 | |
parent | 63df733a0cf086f9e19355ba569051f3c4fcffb8 [diff] |
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 ); }