diff --git a/gitk b/gitk index 3b6acfc592..2e1b629d7d 100755 --- a/gitk +++ b/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 } else { set ctxbut