Catch all ButtonPress and ButtonRelease events

Kai Dombrowe just89 at gmx.de
Fri Nov 27 05:14:27 PST 2009


Hi,

i try to catch all mouse button events with XGrabButton and ButtonPressMask|
ButtonReleaseMask on the root window.
Then an XAllowEvents with ReplayPointer so that the event reaches the 
underlying window.

This works, but I get only ButtonPress events but not ButtonRelease events...

What am I doing wrong?
Is it even possible?


Thank you and excuse me for my bad english



More information about the xorg mailing list