Patch 8.0.1368
Problem: Cannot drag status line or vertical separator of new terminal
window. (UncleBill)
Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
closes #2410)
Files: src/terminal.c
*** ../vim-8.0.1367/src/terminal.c 2017-12-01 21:07:16.224989882 +0100
--- src/terminal.c 2017-12-05 13:04:54.847859986 +0100
***************
*** 1308,1319 ****
case K_MOUSELEFT:
case K_MOUSERIGHT:
if (mouse_row < W_WINROW(curwin)
! || mouse_row > (W_WINROW(curwin) + curwin->w_height)
|| mouse_col < curwin->w_wincol
! || mouse_col > W_ENDCOL(curwin)
|| dragging_outside)
{
! /* click or scroll outside the current window */
if (typed)
{
stuffcharReadbuff(c);
--- 1308,1320 ----
case K_MOUSELEFT:
case K_MOUSERIGHT:
if (mouse_row < W_WINROW(curwin)
! || mouse_row >= (W_WINROW(curwin) + curwin->w_height)
|| mouse_col < curwin->w_wincol
! || mouse_col >= W_ENDCOL(curwin)
|| dragging_outside)
{
! /* click or scroll outside the current window or on status line
! * or vertical separator */
if (typed)
{
stuffcharReadbuff(c);
*** ../vim-8.0.1367/src/version.c 2017-12-05 12:29:57.454648456 +0100
--- src/version.c 2017-12-05 13:03:09.252411542 +0100
***************
*** 773,774 ****
--- 773,776 ----
{ /* Add new patch number below this line */
+ /**/
+ 1368,
/**/
--
hundred-and-one symptoms of being an internet addict:
80. At parties, you introduce your spouse as your "service provider."
/// 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.