]>
Commit | Line | Data |
---|---|---|
c9e2e521 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.038 (extra) | |
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.038 (extra) | |
11 | Problem: Win32: When the "file changed" dialog pops up after a click that | |
12 | gives gvim focus and not moving the mouse after that, the effect | |
13 | of the click may occur when moving the mouse later. (Ken Clark) | |
14 | Happened because the release event was missed. | |
15 | Solution: Clear the s_button_pending variable when any input is received. | |
16 | Files: src/gui_w48.c | |
17 | ||
18 | ||
19 | *** ../vim-6.3.037/src/gui_w48.c Sat Sep 4 16:28:02 2004 | |
20 | --- src/gui_w48.c Sat Dec 4 17:15:35 2004 | |
21 | *************** | |
22 | *** 1829,1834 **** | |
23 | --- 1829,1839 ---- | |
24 | s_wait_timer = 0; | |
25 | } | |
26 | allow_scrollbar = FALSE; | |
27 | + | |
28 | + /* Clear pending mouse button, the release event may have been | |
29 | + * taken by the dialog window. */ | |
30 | + s_button_pending = -1; | |
31 | + | |
32 | return OK; | |
33 | } | |
34 | } | |
35 | *** ../vim-6.3.037/src/version.c Sat Dec 4 15:27:07 2004 | |
36 | --- src/version.c Sat Dec 4 17:19:21 2004 | |
37 | *************** | |
38 | *** 643,644 **** | |
39 | --- 643,646 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 38, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | Are leaders born or made? And if they're made, can we return them under | |
47 | warranty? | |
48 | (Scott Adams - The Dilbert principle) | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
53 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |