# HG changeset patch # User vimboss # Date 1199373307 0 # Node ID ea1a2950ed16f441f66ba319615d47f1ac67402c # Parent c87ce0b2ee2a14d3daf3902bdd4163a002ec7a22 updated for version 7.1-191 diff --git a/src/gui.c b/src/gui.c --- a/src/gui.c +++ b/src/gui.c @@ -3734,8 +3734,10 @@ gui_drag_scrollbar(sb, value, still_drag 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 --- 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 */ /**/ + 191, +/**/ 190, /**/ 189,