Patch 8.0.1796
Problem:    GUI: click on tab fails when the focus is in a terminal window.
Solution:   Handle K_TABLINE.
Files:      src/terminal.c


*** ../vim-8.0.1795/src/terminal.c      2018-05-05 21:00:56.804628425 +0200
--- src/terminal.c      2018-05-06 13:49:32.744549403 +0200
***************
*** 42,48 ****
   *   redirection.  Probably in call to channel_set_pipes().
   * - Win32: Redirecting output does not work, Test_terminal_redir_file()
   *   is disabled.
-  * - GUI: when using tabs, focus in terminal, click on tab does not work.
   * - handle_moverect() scrolls one line at a time.  Postpone scrolling, count
   *   the number of lines, until a redraw happens.  Then if scrolling many 
lines
   *   a redraw is faster.
--- 42,47 ----
***************
*** 1682,1687 ****
--- 1681,1690 ----
                stuffcharReadbuff(c);
            return FAIL;
  
+       case K_TABLINE:
+           stuffcharReadbuff(c);
+           return FAIL;
+ 
        case K_IGNORE:
        case K_CANCEL:  // used for :normal when running out of chars
            return FAIL;
*** ../vim-8.0.1795/src/version.c       2018-05-05 21:00:56.808628398 +0200
--- src/version.c       2018-05-06 13:52:49.827297349 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1796,
  /**/

-- 
ARTHUR:  I am your king!
WOMAN:   Well, I didn't vote for you.
ARTHUR:  You don't vote for kings.
WOMAN:   Well, 'ow did you become king then?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui