mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.2-283
This commit is contained in:
@@ -5267,8 +5267,24 @@ gui_mch_init_font(char_u *font_name, int fontset UNUSED)
|
|||||||
# endif
|
# endif
|
||||||
#endif /* !HAVE_GTK2 */
|
#endif /* !HAVE_GTK2 */
|
||||||
|
|
||||||
/* Preserve the logical dimensions of the screen. */
|
#ifdef HAVE_GTK2
|
||||||
update_window_manager_hints(0, 0);
|
if (gui_mch_maximized())
|
||||||
|
{
|
||||||
|
int w, h;
|
||||||
|
|
||||||
|
/* Update lines and columns in accordance with the new font, keep the
|
||||||
|
* window maximized. */
|
||||||
|
gtk_window_get_size(GTK_WINDOW(gui.mainwin), &w, &h);
|
||||||
|
w -= get_menu_tool_width();
|
||||||
|
h -= get_menu_tool_height();
|
||||||
|
gui_resize_shell(w, h);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
/* Preserve the logical dimensions of the screen. */
|
||||||
|
update_window_manager_hints(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
283,
|
||||||
/**/
|
/**/
|
||||||
282,
|
282,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user