summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-01-03 15:15:07 +0000
committervimboss <devnull@localhost>2008-01-03 15:15:07 +0000
commit3f7f343d9f7a5b51cdee3f2318222f615b13b625 (patch)
tree5f5e09ed3e57c6d1e4cca121d2bab456ad1d875f
parent581b1dcb3ad711a583dfa1bedd2d47aded740305 (diff)
downloadvim-3f7f343d9f7a5b51cdee3f2318222f615b13b625.tar.gz
updated for version 7.1-191v7.1.191v7-1-191
-rw-r--r--src/gui.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index e5a0c267..dd69e8d7 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 9e3cff63..55fdbac9 100644
--- 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,