4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: Adding and removing the menubar resizes the Vim window.
13 Solution: Don't let a resize event change 'lines' unexpectedly.
17 *** ../vim-6.2.319/src/gui.c Wed Feb 25 13:13:26 2004
18 --- src/gui.c Fri Mar 5 22:42:42 2004
23 if (gui.menu_is_active != prev_menu_is_active)
25 + /* We don't want a resize event change "Rows" here, save and
26 + * restore it. Resizing is handled below. */
28 gui_mch_enable_menu(gui.menu_is_active);
30 prev_menu_is_active = gui.menu_is_active;
32 if (gui.menu_is_active)
38 ! /* Adjust the size of the window to avoid that part of our window
39 ! * is off-screen and a scrollbar can't be used, for example. */
40 gui_set_shellsize(FALSE, fix_size);
47 ! /* Adjust the size of the window to make the text area keep the
48 ! * same size and to avoid that part of our window is off-screen
49 ! * and a scrollbar can't be used, for example. */
50 gui_set_shellsize(FALSE, fix_size);
53 *** ../vim-6.2.319/src/version.c Sat Mar 6 21:04:29 2004
54 --- src/version.c Sat Mar 6 21:05:52 2004
58 { /* Add new patch number below this line */
64 A special cleaning ordinance bans housewives from hiding dirt and dust under a
66 [real standing law in Pennsylvania, United States of America]
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
71 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///