From: Bram Moolenaar Date: Thu, 3 Jan 2008 15:15:07 +0000 (+0000) Subject: updated for version 7.1-191 X-Git-Tag: v7.1.191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6784078701dc1ad93348238a38202027e23854fe;p=thirdparty%2Fvim.git updated for version 7.1-191 --- diff --git a/src/gui.c b/src/gui.c index e5a0c267af..dd69e8d700 100644 --- a/src/gui.c +++ b/src/gui.c @@ -3734,8 +3734,10 @@ gui_drag_scrollbar(sb, value, still_dragging) sb->value = value; #ifdef USE_ON_FLY_SCROLL - /* When not allowed to do the scrolling right now, return. */ - if (dont_scroll || input_available()) + /* When not allowed to do the scrolling right now, return. + * This also checked input_available(), but that causes the first click in + * a scrollbar to be ignored when Vim doesn't have focus. */ + if (dont_scroll) return; #endif #ifdef FEAT_INS_EXPAND diff --git a/src/version.c b/src/version.c index 9e3cff6385..55fdbac99d 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 191, /**/ 190, /**/