mirror of
https://github.com/git/git.git
synced 2026-01-11 21:33:13 +09:00
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 <j6t@kdbg.org>
This commit is contained in:
commit
be1829c0fd
2
gitk
2
gitk
@ -12596,7 +12596,7 @@ set foundbgcolor yellow
|
||||
set currentsearchhitbgcolor orange
|
||||
|
||||
# button for popping up context menus
|
||||
if {[tk windowingsystem] eq "aqua"} {
|
||||
if {[tk windowingsystem] eq "aqua" && [package vcompare $::tcl_version 8.7] < 0} {
|
||||
set ctxbut <Button-2>
|
||||
} else {
|
||||
set ctxbut <Button-3>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user