winex11.drv: Ignore FocusOut events on virtual desktop windows.
We don't want to send WM_CANCELMODE or set the foreground window to the desktop when a virtual desktop loses focus. It has its own focus independent of X.
This commit is contained in:
parent
6823f4aaf8
commit
4622889bd5
|
@ -678,6 +678,7 @@ static void X11DRV_FocusOut( HWND hwnd, XEvent *xev )
|
|||
wine_tsx11_unlock();
|
||||
}
|
||||
if (hwnd != GetForegroundWindow()) return;
|
||||
if (root_window != DefaultRootWindow(event->display)) return;
|
||||
SendMessageW( hwnd, WM_CANCELMODE, 0, 0 );
|
||||
|
||||
/* don't reset the foreground window, if the window which is
|
||||
|
|
Loading…
Reference in New Issue