changeset 9446:aaa6639b6f14 v7.4.2004

commit https://github.com/vim/vim/commit/65549bdef5805ba5a18a3d2d3909998dd7d9ed46 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 8 22:52:37 2016 +0200 patch 7.4.2004 Problem: GUI: cursor displayed in the wrong position. Solution: Correct screen_cur_col and screen_cur_row.
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Jul 2016 23:00:06 +0200
parents 66a87d6f2aa1
children 58f395506153
files src/screen.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -764,6 +764,8 @@ update_screen(int type)
 	    gui.col = gui_cursor_col;
 	    gui.row = gui_cursor_row;
 	    gui_update_cursor(FALSE, FALSE);
+	    screen_cur_col = gui.col;
+	    screen_cur_row = gui.row;
 	}
 	gui_update_scrollbars(FALSE);
     }
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2004,
+/**/
     2003,
 /**/
     2002,