Karsten Hopp 3cd8db
To: vim-dev@vim.org
Karsten Hopp 3cd8db
Subject: Patch 7.2.385
Karsten Hopp 3cd8db
Fcc: outbox
Karsten Hopp 3cd8db
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3cd8db
Mime-Version: 1.0
Karsten Hopp 3cd8db
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3cd8db
Content-Transfer-Encoding: 8bit
Karsten Hopp 3cd8db
------------
Karsten Hopp 3cd8db
Karsten Hopp 3cd8db
Patch 7.2.385
Karsten Hopp 3cd8db
Problem:    When in the command line window dragging status line only works
Karsten Hopp 3cd8db
	    for last-but-one window. (Jean Johner)
Karsten Hopp 3cd8db
Solution:   Remove the code that disallows this.
Karsten Hopp 3cd8db
Files:	    src/ui.c
Karsten Hopp 3cd8db
Karsten Hopp 3cd8db
Karsten Hopp 3cd8db
*** ../vim-7.2.384/src/ui.c	2010-01-19 14:59:14.000000000 +0100
Karsten Hopp 3cd8db
--- src/ui.c	2010-03-02 18:06:30.000000000 +0100
Karsten Hopp 3cd8db
***************
Karsten Hopp 3cd8db
*** 2598,2611 ****
Karsten Hopp 3cd8db
  	if (cmdwin_type != 0 && wp != curwin)
Karsten Hopp 3cd8db
  	{
Karsten Hopp 3cd8db
  	    /* A click outside the command-line window: Use modeless
Karsten Hopp 3cd8db
! 	     * selection if possible.  Allow dragging the status line of
Karsten Hopp 3cd8db
! 	     * windows just above the command-line window. */
Karsten Hopp 3cd8db
! 	    if (wp->w_winrow + wp->w_height
Karsten Hopp 3cd8db
! 		       != curwin->w_prev->w_winrow + curwin->w_prev->w_height)
Karsten Hopp 3cd8db
! 	    {
Karsten Hopp 3cd8db
! 		on_status_line = 0;
Karsten Hopp 3cd8db
! 		dragwin = NULL;
Karsten Hopp 3cd8db
! 	    }
Karsten Hopp 3cd8db
  # ifdef FEAT_VERTSPLIT
Karsten Hopp 3cd8db
  	    on_sep_line = 0;
Karsten Hopp 3cd8db
  # endif
Karsten Hopp 3cd8db
--- 2598,2604 ----
Karsten Hopp 3cd8db
  	if (cmdwin_type != 0 && wp != curwin)
Karsten Hopp 3cd8db
  	{
Karsten Hopp 3cd8db
  	    /* A click outside the command-line window: Use modeless
Karsten Hopp 3cd8db
! 	     * selection if possible.  Allow dragging the status lines. */
Karsten Hopp 3cd8db
  # ifdef FEAT_VERTSPLIT
Karsten Hopp 3cd8db
  	    on_sep_line = 0;
Karsten Hopp 3cd8db
  # endif
Karsten Hopp 3cd8db
*** ../vim-7.2.384/src/version.c	2010-03-02 17:59:39.000000000 +0100
Karsten Hopp 3cd8db
--- src/version.c	2010-03-02 18:14:29.000000000 +0100
Karsten Hopp 3cd8db
***************
Karsten Hopp 3cd8db
*** 683,684 ****
Karsten Hopp 3cd8db
--- 683,686 ----
Karsten Hopp 3cd8db
  {   /* Add new patch number below this line */
Karsten Hopp 3cd8db
+ /**/
Karsten Hopp 3cd8db
+     385,
Karsten Hopp 3cd8db
  /**/
Karsten Hopp 3cd8db
Karsten Hopp 3cd8db
-- 
Karsten Hopp 3cd8db
You were lucky. We lived for three months in a brown paper bag in a 
Karsten Hopp 3cd8db
septic tank. We used to have to get up at six o'clock in the morning, 
Karsten Hopp 3cd8db
clean the bag, eat a crust of stale bread, go to work down mill for 
Karsten Hopp 3cd8db
fourteen hours a day week in-week out. When we got home, our Dad
Karsten Hopp 3cd8db
would thrash us to sleep with his belt!
Karsten Hopp 3cd8db
Karsten Hopp 3cd8db
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3cd8db
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3cd8db
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 3cd8db
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///