]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.003
- new
[packages/vim.git] / 7.0.003
CommitLineData
5ee5dc07
AM
1To: vim-dev@vim.org
2Subject: Patch 7.0.003
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.003
11Problem: GUI: clicking in the lower part of a label in the tab pages line
12 while 'mousefocus' is set may warp the mouse pointer. (Robert
13 Webb)
14Solution: Check for a negative mouse position.
15Files: src/gui.c
16
17
18*** ../vim-7.0.002/src/gui.c Wed May 10 15:22:49 2006
19--- src/gui.c Mon May 8 16:31:49 2006
20***************
21*** 4603,4613 ****
22 /* Don't move the mouse when it's left or right of the Vim window */
23 if (x < 0 || x > Columns * gui.char_width)
24 return;
25 # ifdef FEAT_WINDOWS
26! if (Y_2_ROW(y) >= tabline_height())
27! # else
28! if (y >= 0)
29 # endif
30 wp = xy2win(x, y);
31 if (wp != curwin && wp != NULL) /* If in other than current window */
32 {
33--- 4603,4613 ----
34 /* Don't move the mouse when it's left or right of the Vim window */
35 if (x < 0 || x > Columns * gui.char_width)
36 return;
37+ if (y >= 0
38 # ifdef FEAT_WINDOWS
39! && Y_2_ROW(y) >= tabline_height()
40 # endif
41+ )
42 wp = xy2win(x, y);
43 if (wp != curwin && wp != NULL) /* If in other than current window */
44 {
45*** ../vim-7.0.002/src/version.c Wed May 10 15:25:45 2006
46--- src/version.c Wed May 10 17:12:27 2006
47***************
48*** 668,669 ****
49--- 668,671 ----
50 { /* Add new patch number below this line */
51+ /**/
52+ 3,
53 /**/
54
55--
56From "know your smileys":
57 2B|^2B Message from Shakespeare
58
59 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
60/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
61\\\ download, build and distribute -- http://www.A-A-P.org ///
62 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.067698 seconds and 4 git commands to generate.