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:
Johannes Sixt
2025-08-26 19:22:08 +02:00

2
gitk
View File

@@ -12596,7 +12596,7 @@ set foundbgcolor yellow
set currentsearchhitbgcolor orange set currentsearchhitbgcolor orange
# button for popping up context menus # 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> set ctxbut <Button-2>
} else { } else {
set ctxbut <Button-3> set ctxbut <Button-3>