# HG changeset patch # User vimboss # Date 1210189611 0 # Node ID 7387540b6e52e3faad6c78182de9d1354ac9e6b4 # Parent ebe059f69b9e46ada2c6e02b3979e31d1b11c906 updated for version 7.1-297 diff --git a/src/gui.c b/src/gui.c --- a/src/gui.c +++ b/src/gui.c @@ -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 */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 297, +/**/ 296, /**/ 295,