[Xcb] Pb with ButtonPressEvent
Vincent.Torri at iecn.u-nancy.fr
Mon Nov 21 00:19:00 PST 2005
look at the detail.id value. I can't remember what the state event is for.
On Mon, 21 Nov 2005 vincent.siles at gmail.com wrote:
> 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 ?
More information about the Xcb