summaryrefslogtreecommitdiff
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-07 16:43:02 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-07 16:43:02 +0200
commit9d5d3c9c4468ad76f16b50eabd3d9e7eab2ed44d (patch)
treeecee7bf2e2c8a5eeaea1c00ab3461d34740b3ca6 /src/gui_photon.c
parent05e418d436410cd8bbf5a29ff81e8ad68408b1e8 (diff)
downloadvim-git-9d5d3c9c4468ad76f16b50eabd3d9e7eab2ed44d.tar.gz
patch 7.4.1995v7.4.1995
Problem: GUI: cursor drawn in wrong place if a timer callback causes a screen update. (David Samvelyan) Solution: Also redraw the cursor when it's blinking and on.
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c
index a4d00f783..1000a5eb5 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -2238,6 +2238,12 @@ gui_mch_is_blinking(void)
return blink_state != BLINK_NONE;
}
+ int
+gui_mch_is_blink_off(void)
+{
+ return blink_state == BLINK_OFF;
+}
+
void
gui_mch_set_blinking(long wait, long on, long off)
{