Index: src/terminal-window.c
===================================================================
--- src/terminal-window.c	(revision 2986)
+++ src/terminal-window.c	(working copy)
@@ -868,6 +868,20 @@
 }
 
 static void
+screen_resize_window_cb(TerminalScreen *screen,
+                        guint width,
+                        guint height,
+                        TerminalWindow* window)
+{
+	GtkAllocation ScreenAllocation = gtk_widget_get_allocation (GTK_WIDGET (screen));
+	GtkAllocation WindowAllocation = gtk_widget_get_allocation (GTK_WIDGET (window));
+	int dx,dy;
+	dx = WindowAllocation.width - ScreenAllocation.width;
+	dy = WindowAllocation.height - ScreenAllocation.height;
+	gtk_window_resize (GTK_WINDOW (window), width + dx, height + dy);
+}
+
+static void
 terminal_window_update_tabs_menu_sensitivity (TerminalWindow *window)
 {
   TerminalWindowPrivate *priv = window->priv;
@@ -2393,7 +2407,7 @@
       scale = terminal_screen_get_font_scale (priv->active_screen);
       terminal_screen_set_font_scale (screen, scale);
     }
-  
+  g_signal_connect (screen, "resize-window", G_CALLBACK (screen_resize_window_cb), window);
   /* Make the first-added screen the active one */
   /* FIXME: this shouldn't be necessary since we'll immediately get
    * page-selected callback.
