From 51b8c5021a19195e0f138832b081a356a2247bca Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A4in=C3=B6=20J=C3=A4rvel=C3=A4?= Date: Fri, 3 Aug 2007 12:27:39 +0300 Subject: [PATCH] git-gui: Added support for OS X right click MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit OS X sends Button-2 on a "real" right click, such as with a three button mouse, or by using the two-finger trackpad click. Signed-off-by: Väinö Järvelä Signed-off-by: Shawn O. Pearce --- git-gui.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-gui.sh b/git-gui.sh index 2c7eb3c25..29a790e48 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -1348,6 +1348,9 @@ unset i proc bind_button3 {w cmd} { bind $w $cmd if {[is_MacOSX]} { + # Mac OS X sends Button-2 on right click through three-button mouse, + # or through trackpad right-clicking (two-finger touch + click). + bind $w $cmd bind $w $cmd } } -- 2.26.2