]>
Commit | Line | Data |
---|---|---|
a6f905ff AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.063 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.3.063 | |
11 | Problem: When a CursorHold autocommand changes to another window | |
12 | (temporarily) 'mousefocus' stops working. | |
13 | Solution: Call gui_mouse_correct() after triggering CursorHold. | |
14 | Files: src/gui.c | |
15 | ||
16 | ||
17 | *** ../vim-6.3.050/src/gui.c Sun Sep 5 20:48:38 2004 | |
18 | --- src/gui.c Fri Mar 11 19:11:00 2005 | |
19 | *************** | |
20 | *** 2626,2631 **** | |
21 | --- 2626,2635 ---- | |
22 | update_screen(VALID); | |
23 | showruler(FALSE); | |
24 | setcursor(); | |
25 | + /* In case the commands moved the focus to another window | |
26 | + * (temporarily). */ | |
27 | + if (need_mouse_correct) | |
28 | + gui_mouse_correct(); | |
29 | ||
30 | once_already = 1; | |
31 | retval = 0; | |
32 | *** ../vim-6.3.050/src/version.c Sun Feb 13 20:46:05 2005 | |
33 | --- src/version.c Fri Mar 11 19:12:29 2005 | |
34 | *************** | |
35 | *** 643,644 **** | |
36 | --- 643,646 ---- | |
37 | { /* Add new patch number below this line */ | |
38 | + /**/ | |
39 | + 63, | |
40 | /**/ | |
41 | ||
42 | -- | |
43 | Trees moving back and forth is what makes the wind blow. | |
44 | ||
45 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
46 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
47 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
48 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |