comparison 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
comparison
equal deleted inserted replaced
9212:ac88df1cd99a 9213:bb86514cad15
808 { 808 {
809 return blink_state == BLINK_ON; 809 return blink_state == BLINK_ON;
810 } 810 }
811 #endif 811 #endif
812 812
813 int
814 gui_mch_is_blinking(void)
815 {
816 return blink_state != BLINK_NONE;
817 }
818
813 void 819 void
814 gui_mch_set_blinking(long waittime, long on, long off) 820 gui_mch_set_blinking(long waittime, long on, long off)
815 { 821 {
816 #if GTK_CHECK_VERSION(3,0,0) 822 #if GTK_CHECK_VERSION(3,0,0)
817 if (waittime == 0 || on == 0 || off == 0) 823 if (waittime == 0 || on == 0 || off == 0)