Key capturing and dxgrab

chrismorgan at rcn.com chrismorgan at rcn.com
Thu Dec 12 12:45:53 CST 2002


If you run with dxgrab on and a game is fullscreen or in a wine desktop window the mouse is stuck there, even though some keystokes can get passed into the window manager and focus can be lost.  I was thinking that a solution to this would be to enable dxgrab when the wine window was given focus and to disable dxgrab when the user wanted to change focus using alt-tab(seems like a natural default key combination).  This would allow a dxgrab window in a wine desktop window but also let the desktop be useable for other things without requiring the app to be closed before mouse control was returned.  Where in wine would should they keystroke interception be perfomed?  Does such functionality already exist through windows api calls(I wasn't able to find much info on the web through a google search)?

Thanks,
Chris




More information about the wine-devel mailing list