From 703a8044b5393d37d355b0b1054a9a5a13912a3f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 4 Jun 2016 16:24:32 +0200 Subject: patch 7.4.1890 Problem: GUI: When channel data is received the cursor blinking is interrupted. (Ramel Eshed) Solution: Don't update the cursor when it is blinking. --- src/gui_x11.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui_x11.c') diff --git a/src/gui_x11.c b/src/gui_x11.c index 7d01e79dca..deed76e9e5 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -3155,6 +3155,12 @@ static long_u blink_ontime = 400; static long_u blink_offtime = 250; static XtIntervalId blink_timer = (XtIntervalId)0; + int +gui_mch_is_blinking(void) +{ + return blink_state != BLINK_NONE; +} + void gui_mch_set_blinking(long waittime, long on, long off) { -- cgit v1.2.3