Browse Source

Merge branch 'sh/blame-tooltip'

Make sure `git gui blame` tooltips are destroyed once the window loses
focus on MacOS.

* sh/blame-tooltip:
  git-gui: blame: prevent tool tips from sticking around after Command-Tab
maint
Pratyush Yadav 4 years ago
parent
commit
38c2ac2e2a
  1. 1
      lib/blame.tcl

1
lib/blame.tcl

@ -328,6 +328,7 @@ constructor new {i_commit i_path i_jump} { @@ -328,6 +328,7 @@ constructor new {i_commit i_path i_jump} {
bind $i <Any-Motion> [cb _show_tooltip $i @%x,%y]
bind $i <Any-Enter> [cb _hide_tooltip]
bind $i <Any-Leave> [cb _hide_tooltip]
bind $i <Deactivate> [cb _hide_tooltip]
bind_button3 $i "
[cb _hide_tooltip]
set cursorX %x

Loading…
Cancel
Save