summaryrefslogtreecommitdiff
path: root/src/gui_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-04 16:24:32 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-04 16:24:32 +0200
commit703a8044b5393d37d355b0b1054a9a5a13912a3f (patch)
treeae0769683f198fcaeb7c75e32bceca7d65319b4a /src/gui_x11.c
parent35d88f4e2ff5dcd9904f04612d5febede996137c (diff)
downloadvim-git-703a8044b5393d37d355b0b1054a9a5a13912a3f.tar.gz
patch 7.4.1890v7.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.
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 7d01e79dc..deed76e9e 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)
{