4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: GUI: When changing 'guioptions' part of the window may be off
12 screen. (Randall Morris)
13 Solution: Adjust the size of the window when changing 'guioptions', but only
14 when adding something.
18 *** ../vim-6.2.267/src/gui.c Fri Feb 6 19:19:20 2004
19 --- src/gui.c Tue Feb 17 16:31:55 2004
29 if (oldval != NULL && gui.in_use)
35 need_set_size = FALSE;
37 for (i = 0; i < 3; i++)
39 if (gui.which_scrollbars[i] != prev_which_scrollbars[i])
46 + if (gui.which_scrollbars[i])
49 prev_which_scrollbars[i] = gui.which_scrollbars[i];
54 gui_mch_enable_menu(gui.menu_is_active);
55 prev_menu_is_active = gui.menu_is_active;
57 + if (gui.menu_is_active)
65 gui_mch_show_toolbar(using_toolbar);
66 prev_toolbar = using_toolbar;
76 gui_mch_enable_footer(using_footer);
77 prev_footer = using_footer;
83 #if defined(FEAT_MENU) && !defined(WIN16) && !(defined(WIN3264) && !defined(FEAT_TEAROFF))
89 ! gui_set_shellsize(FALSE, FALSE);
97 ! /* Adjust the size of the window to avoid that part of our window
98 ! * is off-screen and a scrollbar can't be used, for example. */
99 ! gui_set_shellsize(FALSE, fix_size);
103 *** ../vim-6.2.267/src/version.c Tue Feb 17 21:08:58 2004
104 --- src/version.c Tue Feb 17 21:30:02 2004
108 { /* Add new patch number below this line */
114 hundred-and-one symptoms of being an internet addict:
115 171. You invent another person and chat with yourself in empty chat rooms.
117 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
118 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
119 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
120 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///