|
Karsten Hopp |
845afa |
To: vim-dev@vim.org
|
|
Karsten Hopp |
845afa |
Subject: Patch 7.0.003
|
|
Karsten Hopp |
845afa |
Fcc: outbox
|
|
Karsten Hopp |
845afa |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
845afa |
Mime-Version: 1.0
|
|
Karsten Hopp |
845afa |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
845afa |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
845afa |
------------
|
|
Karsten Hopp |
845afa |
|
|
Karsten Hopp |
845afa |
Patch 7.0.003
|
|
Karsten Hopp |
845afa |
Problem: GUI: clicking in the lower part of a label in the tab pages line
|
|
Karsten Hopp |
845afa |
while 'mousefocus' is set may warp the mouse pointer. (Robert
|
|
Karsten Hopp |
845afa |
Webb)
|
|
Karsten Hopp |
845afa |
Solution: Check for a negative mouse position.
|
|
Karsten Hopp |
845afa |
Files: src/gui.c
|
|
Karsten Hopp |
845afa |
|
|
Karsten Hopp |
845afa |
|
|
Karsten Hopp |
845afa |
*** ../vim-7.0.002/src/gui.c Wed May 10 15:22:49 2006
|
|
Karsten Hopp |
845afa |
--- src/gui.c Mon May 8 16:31:49 2006
|
|
Karsten Hopp |
845afa |
***************
|
|
Karsten Hopp |
845afa |
*** 4603,4613 ****
|
|
Karsten Hopp |
845afa |
/* Don't move the mouse when it's left or right of the Vim window */
|
|
Karsten Hopp |
845afa |
if (x < 0 || x > Columns * gui.char_width)
|
|
Karsten Hopp |
845afa |
return;
|
|
Karsten Hopp |
845afa |
# ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
845afa |
! if (Y_2_ROW(y) >= tabline_height())
|
|
Karsten Hopp |
845afa |
! # else
|
|
Karsten Hopp |
845afa |
! if (y >= 0)
|
|
Karsten Hopp |
845afa |
# endif
|
|
Karsten Hopp |
845afa |
wp = xy2win(x, y);
|
|
Karsten Hopp |
845afa |
if (wp != curwin && wp != NULL) /* If in other than current window */
|
|
Karsten Hopp |
845afa |
{
|
|
Karsten Hopp |
845afa |
--- 4603,4613 ----
|
|
Karsten Hopp |
845afa |
/* Don't move the mouse when it's left or right of the Vim window */
|
|
Karsten Hopp |
845afa |
if (x < 0 || x > Columns * gui.char_width)
|
|
Karsten Hopp |
845afa |
return;
|
|
Karsten Hopp |
845afa |
+ if (y >= 0
|
|
Karsten Hopp |
845afa |
# ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
845afa |
! && Y_2_ROW(y) >= tabline_height()
|
|
Karsten Hopp |
845afa |
# endif
|
|
Karsten Hopp |
845afa |
+ )
|
|
Karsten Hopp |
845afa |
wp = xy2win(x, y);
|
|
Karsten Hopp |
845afa |
if (wp != curwin && wp != NULL) /* If in other than current window */
|
|
Karsten Hopp |
845afa |
{
|
|
Karsten Hopp |
845afa |
*** ../vim-7.0.002/src/version.c Wed May 10 15:25:45 2006
|
|
Karsten Hopp |
845afa |
--- src/version.c Wed May 10 17:12:27 2006
|
|
Karsten Hopp |
845afa |
***************
|
|
Karsten Hopp |
845afa |
*** 668,669 ****
|
|
Karsten Hopp |
845afa |
--- 668,671 ----
|
|
Karsten Hopp |
845afa |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
845afa |
+ /**/
|
|
Karsten Hopp |
845afa |
+ 3,
|
|
Karsten Hopp |
845afa |
/**/
|
|
Karsten Hopp |
845afa |
|
|
Karsten Hopp |
845afa |
--
|
|
Karsten Hopp |
845afa |
From "know your smileys":
|
|
Karsten Hopp |
845afa |
2B|^2B Message from Shakespeare
|
|
Karsten Hopp |
845afa |
|
|
Karsten Hopp |
845afa |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
845afa |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
845afa |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
845afa |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|