[Xcb] xcb-xinput -- raw motion events

Ingo Bürk admin at airblader.de
Mon May 25 14:40:02 PDT 2015


Hi,

I want to receive all (raw) motion events on a window for which I am
trying to use xcb-xinput.
Unfortunately, I can't seem to figure out how to use it. I found the
Xlib equivalent[1], but am unable to translate it to xcb. Would someone
mind giving me a small push on how I can set
XCB_INPUT_XI_EVENT_MASK_RAW_MOTION on a window?

Addendum / Additional Info: I am currently using
XCB_EVENT_MASK_POINTER_MOTION, but it seems that selecting motion events
on children of Chromium windows break Chromium[2] (wtf), so my hope is
that using XInput would work around this issue.


Thanks!
Ingo

[1] http://keithp.com/blogs/Cursor_tracking/
[2] https://code.google.com/p/chromium/issues/detail?id=491934
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150525/1279ab75/attachment.html>


More information about the Xcb mailing list