[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Catch all ButtonPress and ButtonRelease events
From:       Kai Dombrowe <just89 () gmx ! de>
Date:       2009-11-27 13:14:27
Message-ID: 200911271414.27963.just89 () gmx ! de
[Download RAW message or body]

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
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic