[Xcb] Pb with ButtonPressEvent

vincent.siles at gmail.com vincent.siles at gmail.com
Sun Nov 20 22:42:35 PST 2005


Hi,
I've got some trouble when I get the ButtonPressEvent:

I'm creating a Window with the following masks:
 ButtonPressMask | ButtonReleaseMask | ButtonMotionMask
 | ExposureMask | EnterWindowMask | LeaveWindowMask
 | KeyPressMask | KeyReleaseMask | PointerMotionMask;

When I get a ButtonPressEvent, the field state of the
XCBButtonPressEvent value is always set to 0. But according to the tutorial
this value should represent which button is pushed (I want to select if
right or left click has been done).

Am I making the right things ?

Vincent

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20051121/6e9c5150/attachment.pgp


More information about the Xcb mailing list