Skip to content

Commit

Permalink
don't keep selection size info popup on top when defocussed (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed Jan 13, 2020
1 parent 49b8146 commit eb721ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/winmain.c
Expand Up @@ -2881,6 +2881,7 @@ static struct {
win_show_mouse();
term_set_focus(false, false);
win_sys_style(false);
win_destroy_tip();
DestroyCaret();
win_update(false);

Expand Down
2 changes: 1 addition & 1 deletion src/wintip.c
Expand Up @@ -104,7 +104,7 @@ win_show_tip(int x, int y, int cols, int rows)
&nci, 0);
tip_font = CreateFontIndirect(&nci.lfStatusFont);
tip_wnd =
CreateWindowExA(WS_EX_TOOLWINDOW | WS_EX_TOPMOST,
CreateWindowExA(WS_EX_TOOLWINDOW, // don't include WS_EX_TOPMOST
MAKEINTRESOURCEA(tip_class), null, WS_POPUP, x, y, 1, 1,
null, null, inst, null);
ShowWindow(tip_wnd, SW_SHOWNOACTIVATE);
Expand Down
1 change: 1 addition & 0 deletions wiki/Changelog.md
Expand Up @@ -3,6 +3,7 @@ Terminal features

Window handling
* Avoid resize flickering loop in Virtual Tabs mode.
* Don't keep selection size info popup on top when defocussed (#956).

Font rendering
* Fix adjusted row spacing ("Leading") for negative font leading (#948, #946).
Expand Down

0 comments on commit eb721ae

Please sign in to comment.