diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-01-31 21:10:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-01-31 21:10:01 +0100 |
commit | 1dd45fb4f3371f0256653b2186c8b4b3d26b3f41 (patch) | |
tree | 1a98ce1bfba438843ef01ee54267da7fdd37b47e /src/proto/gui_x11.pro | |
parent | a338adcf222b6a24e26ea5ae6a2ad27f914acb38 (diff) |
patch 8.0.1450: GUI: endless loop when stopping cursor blinkingv8.0.1450
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
is BLINK_OFF. (zdohnal)
Solution: Avoid calling gui_update_cursor() recursively.
Diffstat (limited to 'src/proto/gui_x11.pro')
-rw-r--r-- | src/proto/gui_x11.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/gui_x11.pro b/src/proto/gui_x11.pro index e490d0cf33..955f374a66 100644 --- a/src/proto/gui_x11.pro +++ b/src/proto/gui_x11.pro @@ -57,7 +57,7 @@ void gui_x11_menu_cb(Widget w, XtPointer client_data, XtPointer call_data); int gui_mch_is_blinking(void); int gui_mch_is_blink_off(void); void gui_mch_set_blinking(long waittime, long on, long off); -void gui_mch_stop_blink(void); +void gui_mch_stop_blink(int may_call_gui_update_cursor); void gui_mch_start_blink(void); guicolor_T gui_mch_get_rgb(guicolor_T pixel); void gui_x11_callbacks(Widget textArea, Widget vimForm); |