-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I've got an open PR in qtile (qtile/qtile#4557) using PointerBarriers from xfixes and xinput. I'd like to write a test for this and have had limited success using FakeInput from xtest. I was hoping I could just send a synthetic event but have had no joy with that either.
I see xinput has SendExtensionEvent which sounds promising but I'm not clear how to use it. Do I need to put the event into a buffer object rather than passing the packed data? I also have no idea what classes (https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/blob/master/src/xinput.xml?ref_type=heads#L2725) are meant to be.
Lastly, I'm also concerned that this won't at all as the notes on xcbproto suggest we can't send xge events which would include the BarrierHitEvent.
Any tips would be greatly appreciated.