summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-27 21:03:26 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-27 21:03:26 +0000
commit04a9d4555ac38c1f8e7183354991cf54ab4b1d0a (patch)
tree94e64466a1369b992e8619481b277a083662b01b /src/gui_gtk_x11.c
parent3964b7ea08b139dec4b35f766ca80198e20c0219 (diff)
updated for version 7.0c01v7.0c01
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 35e18c9779..8d261b7598 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -2728,7 +2728,7 @@ mainwin_screen_changed_cb(GtkWidget *widget,
if (gui.norm_font != NULL)
{
gui_mch_init_font(p_guifont, FALSE);
- gui_set_shellsize(FALSE, FALSE);
+ gui_set_shellsize(FALSE, FALSE, RESIZE_BOTH);
}
}
#endif /* HAVE_GTK_MULTIHEAD */
@@ -4247,7 +4247,8 @@ force_shell_resize_idle(gpointer data)
void
gui_mch_set_shellsize(int width, int height,
int min_width, int min_height,
- int base_width, int base_height)
+ int base_width, int base_height,
+ int direction)
{
#ifndef HAVE_GTK2
/* Hack: When the form already is at the desired size, the window might