[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Monitoring for keyboard event.



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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: