diff src/gui_x11.c @ 9213:bb86514cad15 v7.4.1890

commit https://github.com/vim/vim/commit/703a8044b5393d37d355b0b1054a9a5a13912a3f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 4 16:24:32 2016 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Jun 2016 16:30:05 +0200
parents 5e18efdad322
children 0c7f47088e55
line wrap: on
line diff
--- 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)
 {