Mercurial > vim
comparison src/proto/gui_photon.pro @ 13152:f4c3a7f410f4 v8.0.1450
patch 8.0.1450: GUI: endless loop when stopping cursor blinking
commit https://github.com/vim/vim/commit/1dd45fb4f3371f0256653b2186c8b4b3d26b3f41
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 21:10:01 2018 +0100
patch 8.0.1450: GUI: endless loop when stopping cursor blinking
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
is BLINK_OFF. (zdohnal)
Solution: Avoid calling gui_update_cursor() recursively.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 21:15:05 +0100 |
parents | 5a5709918a98 |
children | fcccc29bd386 |
comparison
equal
deleted
inserted
replaced
13151:3a3ecd0efd62 | 13152:f4c3a7f410f4 |
---|---|
42 void gui_mch_draw_part_cursor(int w, int h, guicolor_T color); | 42 void gui_mch_draw_part_cursor(int w, int h, guicolor_T color); |
43 int gui_mch_is_blinking(void); | 43 int gui_mch_is_blinking(void); |
44 int gui_mch_is_blink_off(void); | 44 int gui_mch_is_blink_off(void); |
45 void gui_mch_set_blinking(long wait, long on, long off); | 45 void gui_mch_set_blinking(long wait, long on, long off); |
46 void gui_mch_start_blink(void); | 46 void gui_mch_start_blink(void); |
47 void gui_mch_stop_blink(void); | 47 void gui_mch_stop_blink(int may_call_gui_update_cursor); |
48 void gui_mch_beep(void); | 48 void gui_mch_beep(void); |
49 void gui_mch_flash(int msec); | 49 void gui_mch_flash(int msec); |
50 void gui_mch_flush(void); | 50 void gui_mch_flush(void); |
51 void gui_mch_set_text_area_pos(int x, int y, int w, int h); | 51 void gui_mch_set_text_area_pos(int x, int y, int w, int h); |
52 int gui_mch_haskey(char_u *name); | 52 int gui_mch_haskey(char_u *name); |