Mercurial > vim
comparison src/popupwin.c @ 18002:2fdbcecab216 v8.1.1997
patch 8.1.1997: no redraw after a popup window filter is invoked
Commit: https://github.com/vim/vim/commit/bcb4c8f9058c17dead61a0a384cb1e09c5fc459b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 7 14:06:52 2019 +0200
patch 8.1.1997: no redraw after a popup window filter is invoked
Problem: No redraw after a popup window filter is invoked.
Solution: Redraw if needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 Sep 2019 14:15:04 +0200 |
parents | ec4248c4b92c |
children | 6006bb74bd52 |
comparison
equal
deleted
inserted
replaced
18001:1edd747222f0 | 18002:2fdbcecab216 |
---|---|
2800 while (!res && (wp = find_next_popup(FALSE)) != NULL) | 2800 while (!res && (wp = find_next_popup(FALSE)) != NULL) |
2801 if (wp->w_filter_cb.cb_name != NULL | 2801 if (wp->w_filter_cb.cb_name != NULL |
2802 && (wp->w_filter_mode & state) != 0) | 2802 && (wp->w_filter_mode & state) != 0) |
2803 res = invoke_popup_filter(wp, c); | 2803 res = invoke_popup_filter(wp, c); |
2804 | 2804 |
2805 if (must_redraw) | |
2806 redraw_after_callback(FALSE); | |
2805 recursive = FALSE; | 2807 recursive = FALSE; |
2806 KeyTyped = save_KeyTyped; | 2808 KeyTyped = save_KeyTyped; |
2807 return res; | 2809 return res; |
2808 } | 2810 } |
2809 | 2811 |