Skip to content

Commit be1829c

Browse files
committed
Merge branch 'aqua-ctxbut' of github.com:ZhongRuoyu/gitk
* 'aqua-ctxbut' of github.com:ZhongRuoyu/gitk: gitk: use <Button-3> for ctx menus on macOS with Tcl 8.7+ Signed-off-by: Johannes Sixt <[email protected]>
2 parents 93ff79e + 7c06c19 commit be1829c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12596,7 +12596,7 @@ set foundbgcolor yellow
1259612596
set currentsearchhitbgcolor orange
1259712597
1259812598
# button for popping up context menus
12599-
if {[tk windowingsystem] eq "aqua"} {
12599+
if {[tk windowingsystem] eq "aqua" && [package vcompare $::tcl_version 8.7] < 0} {
1260012600
set ctxbut <Button-2>
1260112601
} else {
1260212602
set ctxbut <Button-3>

0 commit comments

Comments
 (0)