Bug 322 - New feature, single button double-click
Summary: New feature, single button double-click
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL: http://bugs.xfree86.org/show_bug.cgi?...
Whiteboard:
Keywords:
: 1244 (view as bug list)
Depends on:
Blocks: 269
  Show dependency treegraph
 
Reported: 2004-03-16 05:10 UTC by Egbert Eich
Modified: 2004-10-16 20:30 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Modify two files to add single-button double-click (4.23 KB, patch)
2004-07-19 02:38 UTC, Rob Brown
no flags Details | Splinter Review
Double-click patch for stock X.org 6.8.0 (4.23 KB, patch)
2004-09-09 13:20 UTC, Rob Brown
no flags Details | Splinter Review
Double-click patch for Gentoo xorg-x11 6.8.0 (4.24 KB, patch)
2004-09-09 13:21 UTC, Rob Brown
no flags Details | Splinter Review

Description Egbert Eich 2004-03-16 05:10:07 UTC
New feature, single button double-click
http://bugs.xfree86.org/show_bug.cgi?id=1184
Comment 1 Rob Brown 2004-07-19 02:38:01 UTC
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).
Comment 2 Rob Brown 2004-07-19 02:40:26 UTC
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.
Comment 3 Rob Brown 2004-09-09 13:20:15 UTC
Created attachment 842 [details] [review]
Double-click patch for stock X.org 6.8.0
Comment 4 Rob Brown 2004-09-09 13:21:00 UTC
Created attachment 843 [details] [review]
Double-click patch for Gentoo xorg-x11 6.8.0
Comment 5 Rob Brown 2004-09-09 13:32:35 UTC
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.
Comment 6 Andrew J. Montalenti 2004-09-21 14:19:02 UTC
*** Bug 1244 has been marked as a duplicate of this bug. ***
Comment 7 Alex Deucher 2004-10-17 13:30:16 UTC
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.