diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-28 13:02:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-28 13:02:45 +0100 |
commit | 43568648dfefe5796dc3fe8fe711135eb20d9eb6 (patch) | |
tree | 59d27e3974535207bc9b21a32ec8dc777f40fd9c /src/proto/popupwin.pro | |
parent | b0509c542ed974cb388d49273d365ff2daf43159 (diff) |
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() usedv9.0.0294
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r-- | src/proto/popupwin.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index ef769413c4..a12cb3eb29 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -66,6 +66,7 @@ win_T *popup_get_message_win(void); void popup_show_message_win(void); int popup_message_win_visible(void); void popup_hide_message_win(void); +void popup_close_message_win(void); int popup_win_closed(win_T *win); void popup_set_title(win_T *wp); void popup_update_preview_title(void); |