comparison src/gui_x11.c @ 9428:0c7f47088e55 v7.4.1995

commit https://github.com/vim/vim/commit/9d5d3c9c4468ad76f16b50eabd3d9e7eab2ed44d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 7 16:43:02 2016 +0200 patch 7.4.1995 Problem: GUI: cursor drawn in wrong place if a timer callback causes a screen update. (David Samvelyan) Solution: Also redraw the cursor when it's blinking and on.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jul 2016 16:45:08 +0200
parents bb86514cad15
children 86d470495333
comparison
equal deleted inserted replaced
9427:446d1452c131 9428:0c7f47088e55
3159 gui_mch_is_blinking(void) 3159 gui_mch_is_blinking(void)
3160 { 3160 {
3161 return blink_state != BLINK_NONE; 3161 return blink_state != BLINK_NONE;
3162 } 3162 }
3163 3163
3164 int
3165 gui_mch_is_blink_off(void)
3166 {
3167 return blink_state == BLINK_OFF;
3168 }
3169
3164 void 3170 void
3165 gui_mch_set_blinking(long waittime, long on, long off) 3171 gui_mch_set_blinking(long waittime, long on, long off)
3166 { 3172 {
3167 blink_waittime = waittime; 3173 blink_waittime = waittime;
3168 blink_ontime = on; 3174 blink_ontime = on;