Permalink
Browse files

updated for version 7.1-297

  • Loading branch information...
vimboss
vimboss committed May 7, 2008
1 parent 22695b7 commit b6932fb3aea5e3a2ba7843fd7858e3ae432e99eb
Showing with 11 additions and 0 deletions.
  1. +9 −0 src/gui.c
  2. +2 −0 src/version.c
View
@@ -4855,6 +4855,15 @@ gui_update_screen()
{
update_topline();
validate_cursor();
+#ifdef FEAT_AUTOCMD
+ /* Trigger CursorMoved if the cursor moved. */
+ if (!finish_op && has_cursormoved()
+ && !equalpos(last_cursormoved, curwin->w_cursor))
+ {
+ apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
+ last_cursormoved = curwin->w_cursor;
+ }
+#endif
update_screen(0); /* may need to update the screen */
setcursor();
out_flush(); /* make sure output has been written */
View
@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 297,
/**/
296,
/**/

0 comments on commit b6932fb

Please sign in to comment.