Index: src/window.c
===================================================================
RCS file: /cvs/gnome/metacity/src/window.c,v
retrieving revision 1.368
diff -p -u -r1.368 window.c
--- src/window.c	28 Jan 2005 16:36:14 -0000	1.368
+++ src/window.c	31 Jan 2005 03:12:39 -0000
@@ -2052,8 +2052,6 @@ meta_window_unmake_fullscreen (MetaWindo
       
       window->fullscreen = FALSE;
 
-      meta_window_update_layer (window);
-      
       meta_window_move_resize (window,
                                TRUE,
                                window->saved_rect.x,
@@ -2061,6 +2059,8 @@ meta_window_unmake_fullscreen (MetaWindo
                                window->saved_rect.width,
                                window->saved_rect.height);
 
+      meta_window_update_layer (window);
+      
       recalc_window_features (window);
       set_net_wm_state (window);
     }
