diff src/gui_gtk_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 a64e2a624fbe
line wrap: on
line diff
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -810,6 +810,12 @@ gui_gtk_is_blink_on(void)
 }
 #endif
 
+    int
+gui_mch_is_blinking(void)
+{
+    return blink_state != BLINK_NONE;
+}
+
     void
 gui_mch_set_blinking(long waittime, long on, long off)
 {