Xlib and wine and XGrabButton

Lionel Ulmer lionel.ulmer at free.fr
Tue Oct 21 02:13:28 CDT 2003


(snip about XGrab-ing stuff)

> I think that using this should work at least in programs where the entire
> screen is taken over, like in games, probably other applications well.

Well, this would work.... BUT there is a catch : when you grab the display
or some keys, only the X connection where you did the grab will get the key
events. And as in Wine, you have one connection per thread, you need to be
sure to call these X functions from the thread the game does it input from.


     Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/



More information about the wine-devel mailing list