components/vim/vim72-patches/7.2.385
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.385
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.385
       
    11 Problem:    When in the command line window dragging status line only works
       
    12 	    for last-but-one window. (Jean Johner)
       
    13 Solution:   Remove the code that disallows this.
       
    14 Files:	    src/ui.c
       
    15 
       
    16 
       
    17 *** ../vim-7.2.384/src/ui.c	2010-01-19 14:59:14.000000000 +0100
       
    18 --- src/ui.c	2010-03-02 18:06:30.000000000 +0100
       
    19 ***************
       
    20 *** 2598,2611 ****
       
    21   	if (cmdwin_type != 0 && wp != curwin)
       
    22   	{
       
    23   	    /* A click outside the command-line window: Use modeless
       
    24 ! 	     * selection if possible.  Allow dragging the status line of
       
    25 ! 	     * windows just above the command-line window. */
       
    26 ! 	    if (wp->w_winrow + wp->w_height
       
    27 ! 		       != curwin->w_prev->w_winrow + curwin->w_prev->w_height)
       
    28 ! 	    {
       
    29 ! 		on_status_line = 0;
       
    30 ! 		dragwin = NULL;
       
    31 ! 	    }
       
    32   # ifdef FEAT_VERTSPLIT
       
    33   	    on_sep_line = 0;
       
    34   # endif
       
    35 --- 2598,2604 ----
       
    36   	if (cmdwin_type != 0 && wp != curwin)
       
    37   	{
       
    38   	    /* A click outside the command-line window: Use modeless
       
    39 ! 	     * selection if possible.  Allow dragging the status lines. */
       
    40   # ifdef FEAT_VERTSPLIT
       
    41   	    on_sep_line = 0;
       
    42   # endif
       
    43 *** ../vim-7.2.384/src/version.c	2010-03-02 17:59:39.000000000 +0100
       
    44 --- src/version.c	2010-03-02 18:14:29.000000000 +0100
       
    45 ***************
       
    46 *** 683,684 ****
       
    47 --- 683,686 ----
       
    48   {   /* Add new patch number below this line */
       
    49 + /**/
       
    50 +     385,
       
    51   /**/
       
    52 
       
    53 -- 
       
    54 You were lucky. We lived for three months in a brown paper bag in a 
       
    55 septic tank. We used to have to get up at six o'clock in the morning, 
       
    56 clean the bag, eat a crust of stale bread, go to work down mill for 
       
    57 fourteen hours a day week in-week out. When we got home, our Dad
       
    58 would thrash us to sleep with his belt!
       
    59 
       
    60  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    61 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    62 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    63  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///