New feature, single button double-click http://bugs.xfree86.org/show_bug.cgi?id=1184
Created attachment 490 [details] [review] Modify two files to add single-button double-click This is a newer version of the patch, nothing's different but it applies cleanly to x.org 6.7.0 (gentoo r2).
This was my patch originally, I find it very useful and it'd be cool to see it in the official tree. If anyone's interested in it, I'll knock together some nicer documentation for it (I know where the doc should go, although I've forgotten for now :/ ) Suffice to say that this patch adds the ability for a single button press on a mouse to be converted into a double-click on a different button. The "source" and "destination" buttons are configurable. This capability has existed as a standard feature in Windows for yonks.
Created attachment 842 [details] [review] Double-click patch for stock X.org 6.8.0
Created attachment 843 [details] [review] Double-click patch for Gentoo xorg-x11 6.8.0
Here's the patch for both the stock X.org distribution and for Gentoo's ebuild. To apply to Gentoo, start the emerge by typing emerge /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.0.ebuild wait until it says "source unpacked", and then press <Ctrl-z>. Then type cd /var/tmp/portage/xorg-x11-6.8.0/work patch -p1 < /path/to/patch/doubleclick68g.patch fg and the build will continue. A suggested addition to "man 4x mouse" could be: Option "DoubleClickButtons" "N1 N2" Sets button N2 to send a double-click on button N1. That is, when N2 is pressed, no "N2 pressed" message is sent by X, but rather two rapid "N1 pressed" messages. This is useful for people whose mouse has more than 3 buttons, and who cannot (or chose not to) perform the double-click action manually.
*** Bug 1244 has been marked as a duplicate of this bug. ***
committed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.