http://bugs.winehq.org/show_bug.cgi?id=30924
Bug #: 30924 Summary: Uncapture Mouse in Fullscreen Windows Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: songandsilence27@gmail.com Classification: Unclassified
In winecfg, there is an option, under the Graphics tab to automatically capture the mouse in fullscreen windows.
When using the emulated virtual desktop, certain programs freezing, crashing, etc., can cause the mouse to stay within the emulated virtual desktop. Killing wine or wineserver causes the mouse to stay within the confines of the virtual desktop, rendering the (actual, X11) desktop useless. The Virtual desktop window will grey out, becoming unresponsive to any and all input meant to close it, including keystrokes such as ALT+F4 and clicking the "close" button.
Opening a X11-managed window (e.g., a terminal emulator) inside of the window area will allow keyboard input, and depending on placement, can free the mouse from the virtual desktop window, however, mouse clicks are not functioning in other X11 windows, panels, etc.
Killing and restarting the X server via CTRL+ALT+Bksp or switching to a second Virtual Console (e.g., tty2) and issuing "pkill X; startx" will temporarily solve the issue (unless the offending program is run and freezes/crashes again).
There should be a key combination to release the mouse back to the X11 desktop environment.