diff --git a/gitk b/gitk index 8f65900763..e82c6bfede 100755 --- a/gitk +++ b/gitk @@ -2477,6 +2477,7 @@ proc makewindow {} { global ctxbut bind $cflist $ctxbut {pop_flist_menu %W %X %Y %x %y} bind $ctext $ctxbut {pop_diff_menu %W %X %Y %x %y} + bind $ctext {focus %W} set maincursor [. cget -cursor] set textcursor [$ctext cget -cursor]