http://bugs.winehq.org/show_bug.cgi?id=5623
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #35 from Bruno Jesus 00cpxxx@gmail.com 2011-09-30 22:28:26 CDT --- After studying a bit of the X server and searching for a way to create a global keyboard hook in X I believe that what wine is doing currently is the best we can have and I personally consider this bug fixed.
I searched several forums and lists and everyone has the same answer that it's not possible to create a global hook to get keyboard keys in X server because each application has it's own message queue, differently from windows that have only one queue (or am I wrong?).
The current wine implementation get keys/clicks from the focused wine window and is able to share them with all other opened wine windows.
My demo application is in the comment above if anyone have some time to test.