xserver-multidpi/hw/xwayland
Jason Gerecke fbc9814975 xwayland: Correct off-by-one error in tablet button numbering
The 'tablet_tool_frame' function treats the button masks as though they
are zero-indexed, but 'tablet_tool_button_state' treats them as one-
indexed. The result is that an e.g. middle click event recieved from
Wayland will be sent from the X server as a right-click instead.

Fixes: 773b04748d ("xwayland: handle button events after motion events")
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-06-12 10:47:44 +10:00
..
.gitignore xwayland: Bind pointer constraints global 2016-10-05 13:50:46 -04:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
Makefile.am xwayland: Depend on wayland-protocols to build tablet protocol headers 2017-04-28 11:21:24 +10:00
meson.build xwayland: Depend on wayland-protocols to build tablet protocol headers 2017-04-28 11:21:24 +10:00
xwayland-cursor.c xwayland: update cursor on tablet tools in proximity 2017-04-28 11:21:25 +10:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-xv.c xwayland: Fix compiler warning in GLAMOR Xv 2016-04-15 16:22:16 -04:00
xwayland-glamor.c glamor: Drop glamor_set_screen_pixmap(). 2017-06-02 17:46:46 -07:00
xwayland-input.c xwayland: Correct off-by-one error in tablet button numbering 2017-06-12 10:47:44 +10:00
xwayland-output.c xwayland: Update root window size when desktop size changes 2017-06-07 14:45:34 +10:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: Update root window size when desktop size changes 2017-06-07 14:45:34 +10:00
xwayland.h xwayland: Remove two unused proc pointers. 2017-06-07 14:49:17 +10:00