b9e767a
To: vim-dev@vim.org
b9e767a
Subject: Patch 7.1.191
b9e767a
Fcc: outbox
b9e767a
From: Bram Moolenaar <Bram@moolenaar.net>
b9e767a
Mime-Version: 1.0
b9e767a
Content-Type: text/plain; charset=ISO-8859-1
b9e767a
Content-Transfer-Encoding: 8bit
b9e767a
------------
b9e767a
b9e767a
Patch 7.1.191
b9e767a
Problem:    Win32 GUI: after patch 7.1.168 there is still a problem when
b9e767a
	    clicking in a scrollbar. (Juergen Jottkaerr)
b9e767a
Solution:   Don't check the input buffer when dragging the scrollbar.
b9e767a
Files:	    src/gui.c
b9e767a
b9e767a
b9e767a
*** ../vim-7.1.190/src/gui.c	Tue Nov  6 22:26:39 2007
b9e767a
--- src/gui.c	Thu Jan  3 13:16:29 2008
b9e767a
***************
b9e767a
*** 3734,3741 ****
b9e767a
      sb->value = value;
b9e767a
  
b9e767a
  #ifdef USE_ON_FLY_SCROLL
b9e767a
!     /* When not allowed to do the scrolling right now, return. */
b9e767a
!     if (dont_scroll || input_available())
b9e767a
  	return;
b9e767a
  #endif
b9e767a
  #ifdef FEAT_INS_EXPAND
b9e767a
--- 3734,3743 ----
b9e767a
      sb->value = value;
b9e767a
  
b9e767a
  #ifdef USE_ON_FLY_SCROLL
b9e767a
!     /* When not allowed to do the scrolling right now, return.
b9e767a
!      * This also checked input_available(), but that causes the first click in
b9e767a
!      * a scrollbar to be ignored when Vim doesn't have focus. */
b9e767a
!     if (dont_scroll)
b9e767a
  	return;
b9e767a
  #endif
b9e767a
  #ifdef FEAT_INS_EXPAND
b9e767a
*** ../vim-7.1.190/src/version.c	Thu Jan  3 13:19:50 2008
b9e767a
--- src/version.c	Thu Jan  3 16:13:23 2008
b9e767a
***************
b9e767a
*** 668,669 ****
b9e767a
--- 668,671 ----
b9e767a
  {   /* Add new patch number below this line */
b9e767a
+ /**/
b9e767a
+     191,
b9e767a
  /**/
b9e767a
b9e767a
-- 
b9e767a
GUARD #1:  What -- a swallow carrying a coconut?
b9e767a
ARTHUR:    It could grip it by the husk!
b9e767a
GUARD #1:  It's not a question of where he grips it!  It's a simple question
b9e767a
           of weight ratios!  A five ounce bird could not carry a 1 pound
b9e767a
           coconut.
b9e767a
                                  The Quest for the Holy Grail (Monty Python)
b9e767a
b9e767a
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
b9e767a
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
b9e767a
\\\        download, build and distribute -- http://www.A-A-P.org        ///
b9e767a
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///