]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-191 v7.1.191
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Jan 2008 15:15:07 +0000 (15:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Jan 2008 15:15:07 +0000 (15:15 +0000)
src/gui.c
src/version.c

index e5a0c267af4260432e1e86285dea0326352adfce..dd69e8d70064ea5c7daa22e81b943515b21d2d99 100644 (file)
--- 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
index 9e3cff6385a6d4f483b6dfe2b8526300db4afaee..55fdbac99dff2ba279eacbdcb2895a2553ed18e7 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    191,
 /**/
     190,
 /**/