From: Väinö Järvelä Date: Fri, 03 Aug 2007 09:27:39 GMT Subject: [PATCH] git-gui: Added support for OS X right click Message-ID: 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ä --- git-gui.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/git-gui.sh b/git-gui.sh index 2c7eb3c..29a790e 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 } } -- 1.5.2