Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395249 - x11-base/xorg-server-1.11.2-r2 - Button state in XI2 events is wrong for mapped buttons
Summary: x11-base/xorg-server-1.11.2-r2 - Button state in XI2 events is wrong for mapp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: http://patchwork.freedesktop.org/patc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 09:36 UTC by N. Andrew Walsh
Modified: 2012-01-30 12:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2011-12-19 09:36:48 UTC
the present xorg-server (1.11.2-r2 on my system) incorrectly manages mouse events when the buttons are mapped in a different order (for example, setting xmodmap -e "pointer = 3 2 1 ..." for left-handed use). A click on physical button 1 sends a button 3 press, but the state is set for button 1.

This leads to all sorts of wonky behavior when using a mouse left-handed, including gtk apps (Audacious, evince) no longer responding properly to mouse clicks. 

the xorg bug report is here:
https://bugs.freedesktop.org/show_bug.cgi?id=43942

and the patch to fix it is here:
http://patchwork.freedesktop.org/patch/8367/
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-19 20:17:43 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=655928#c4
> As a quick workaround, you can set GDK_CORE_DEVICE_EVENTS=1
Comment 2 N. Andrew Walsh 2011-12-20 00:38:46 UTC
I should have answered on that post: that workaround doesn't, like, work for me. Sorry.
Comment 3 N. Andrew Walsh 2012-01-19 17:39:45 UTC
according to the patch I linked in the first post, this bug has been fixed for a month now upstream (but it missed being incorporated into the subsequent gentoo xorg release). Is there another xorg version coming out soon that might incorporate this fix? My pinkie is getting undesireably muscular from all the extra work :(
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-01-30 12:39:35 UTC
fixed in xorg-server-1.11.4