summaryrefslogtreecommitdiff
path: root/src/gui_gtk_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_gtk_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_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index d497c7530..601fafccd 100644
--- 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)
{