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