Index: src/display.c
===================================================================
RCS file: /cvs/gnome/metacity/src/display.c,v
retrieving revision 1.228
diff -p -u -r1.228 display.c
--- src/display.c	16 Sep 2004 03:10:11 -0000	1.228
+++ src/display.c	22 Sep 2004 05:22:28 -0000
@@ -501,6 +501,9 @@ meta_display_open (const char *name)
   
   display->current_time = CurrentTime;
   display->sentinel_counter = 0;
+
+  display->grab_resize_timeout_id = 0;
+  display->grab_have_keyboard = FALSE;
   
   display->grab_op = META_GRAB_OP_NONE;
   display->grab_wireframe_active = FALSE;
Index: src/ui.c
===================================================================
RCS file: /cvs/gnome/metacity/src/ui.c,v
retrieving revision 1.56
diff -p -u -r1.56 ui.c
--- src/ui.c	10 Jan 2004 17:16:07 -0000	1.56
+++ src/ui.c	22 Sep 2004 05:22:29 -0000
@@ -219,6 +219,9 @@ meta_ui_create_frame_window (MetaUI *ui,
   attrs.wmclass_class = NULL;
   attrs.override_redirect = FALSE;
 
+  attrs.width  = width;
+  attrs.height = height;
+
   attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
 
   window =
