summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-12 14:08:25 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-12 14:08:25 +0200
commit107abd2ca53c31fd3bb40d77ff296e98eaae2975 (patch)
treeec1ae0386ed26e1ea96291a69ddf47f9b7aef854 /src/gui_gtk_x11.c
parent0e5d3a2940ead6c8ee3bacacea4153b647b67cca (diff)
downloadvim-git-107abd2ca53c31fd3bb40d77ff296e98eaae2975.tar.gz
patch 7.4.2199v7.4.2199
Problem: In the GUI the cursor is hidden when redrawing any window, causing flicker. Solution: Only undraw the cursor when updating the window it's in.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 7c63a49fc..a53fa12d2 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -6698,7 +6698,7 @@ check_copy_area(void)
* we don't want it to be. I'm not sure if it's correct to call
* gui_dont_update_cursor() at this point but it works as a quick
* fix for now. */
- gui_dont_update_cursor();
+ gui_dont_update_cursor(TRUE);
do
{