diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2021-02-11 11:42:01 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2021-02-15 09:42:00 +0100 |
commit | a4095162ca923992a8cfae6d0f09ff9f8144762a (patch) | |
tree | ce18aaafa9725cfdf890766db5faaa56c198301b /devbook.am | |
parent | 1abab61dc23d585860bc847bcecb1b0315977c27 (diff) |
xwayland: Use relative device for buttons/axis
We are using the relative pointer for motion events, but buttons and
axis events still go through the absolute pointer device.
That means additional DeviceChanged events that could be avoided if the
buttons and axis events were coming from the same device as motion
events.
Route those events to the relative pointer if available so that motion,
buttons and axis events come from the same device (most of the time).
Suggested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Related: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1130
Diffstat (limited to 'devbook.am')
0 files changed, 0 insertions, 0 deletions