Skip to content

Commit 38c2ac2

Browse files
committed
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
2 parents 01121d6 + b297e03 commit 38c2ac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/blame.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ constructor new {i_commit i_path i_jump} {
328328
bind $i <Any-Motion> [cb _show_tooltip $i @%x,%y]
329329
bind $i <Any-Enter> [cb _hide_tooltip]
330330
bind $i <Any-Leave> [cb _hide_tooltip]
331+
bind $i <Deactivate> [cb _hide_tooltip]
331332
bind_button3 $i "
332333
[cb _hide_tooltip]
333334
set cursorX %x

0 commit comments

Comments
 (0)