4 Apr 2002 12:03
Monitoring for keyboard event.
Epelman, Boris (MED-ELGEMS <Boris_Epelman <at> elgems.com>
2002-04-04 10:03:28 GMT
2002-04-04 10:03:28 GMT
Does anybody know how it is possible to catch keyboard events, regardless of the pointer position? The only way I found is by using XQueryTree for RootWindow, which builds an hierarchy of all existing windows and then XSelectInput with KeyPressMask | SubstructureNotifyMask for every window. This seems to be unreliable: the root window on IRIX as well as some new windows do not report events. Is there a way to directly catch all keyboard events? Thanks, Boris -- -- To UNSUBSCRIBE, email to debian-x-request <at> lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster <at> lists.debian.org
RSS Feed