https://bugs.winehq.org/show_bug.cgi?id=55046
Bug ID: 55046 Summary: ALT-TAB broken with virtual desktop and capture mouse (regression: 8.9 -> 8.10) Product: Wine Version: 8.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: kolAflash@kolahilft.de Distribution: ---
This commit broke ALT-TAB out fullscreen windows when running with virtual desktop and "Automatically capture the mouse in full-screen windows" both turned on. https://gitlab.winehq.org/wine/wine/-/commit/47e208e9ec91b3ac0aca7042778ff7d...
The mouse will stay attached to the Wine virtual desktop window. ALT-TAB actually brings windows into foreground and into focus. But you can not move the mouse out of the virtual desktop window. And even when another window is directly overlapping the virtual desktop window, clicks in the other window will not be registered.
Tested with SuperTuxKart or Diablo IV. https://supertuxkart.net/
Specifically this deleted line was needed for ALT-TAB to work correctly. if (ret) user_driver->pClipCursor( &new_rect, FALSE );