diff options
author | Pratyush Yadav <me@yadavpratyush.com> | 2020-10-17 15:05:27 +0530 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2020-10-17 15:05:27 +0530 |
commit | 38c2ac2e2ab00a8bcef528f24cb5b883b4413e5c (patch) | |
tree | 6f3966a38a9502a448ce9ba8239e7a5322d9f597 /lib | |
parent | Merge branch 'st/dark-mode' into master (diff) | |
parent | git-gui: blame: prevent tool tips from sticking around after Command-Tab (diff) | |
download | tgif-38c2ac2e2ab00a8bcef528f24cb5b883b4413e5c.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/blame.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl index 62ec083667..8441e109be 100644 --- a/lib/blame.tcl +++ b/lib/blame.tcl @@ -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 |