grab mouse wheel with XI2

Jonathan Michalon johndescs at
Mon Nov 25 08:56:43 UTC 2019

Le Mon, 11 Nov 2019 10:53:40 +1000,
Peter Hutterer <peter.hutterer at> a écrit :
> Since you can't passive grab on specific axis, the
> window-manager-like sync grab is out. So basically - I don't see any
> options here.
> […]
> There may be a use-case for grabbing specific axis events, but the
> devil's in the detail and this is a massive amount of work. So "a
> patch somehow" is more likely 6 man-months of full-time work. I would
> recommend against that...


Thanks for your very detailed answer. FTR, we decided consequently to
just use the GDK_CORE_DEVICE_EVENTS=1 environment variable for now, it's
enough for our reduced use-case and in any case in the next 2 years
things may change a lot.

Best Regards,

Jonathan Michalon

More information about the xorg mailing list