https://bugs.winehq.org/show_bug.cgi?id=48462
--- Comment #9 from RĂ©mi Bernon rbernon@codeweavers.com --- It may also depend on some window manager features, I don't know how widespread EWMH implementation is, and these patch depend on _NET_ACTIVE_WINDOW property updates. To see if anything is happening on focus change, WINEDEBUG=+event and grep "X11DRV_PropertyNotify" could be used. When not using virtual desktop there should be messages like: - Setting foreground to %p/%lx to match X11 state. - Active window is not Wine's, setting foreground to desktop. - No active window, setting foreground to desktop.