Index: src/window.c
===================================================================
RCS file: /cvs/gnome/metacity/src/window.c,v
retrieving revision 1.261.2.8.2.2
diff -u -p -u -r1.261.2.8.2.2 window.c
--- src/window.c	16 Jun 2004 21:45:56 -0000	1.261.2.8.2.2
+++ src/window.c	16 Jun 2004 22:11:59 -0000
@@ -1955,6 +1955,18 @@ meta_window_unshade (MetaWindow  *window
   if (window->shaded)
     {
       window->shaded = FALSE;
+
+      /* This isn't correct; we need a more generic fix in
+       * meta_window_show/meta_window_hide (force a repaint on
+       * entire wireframe area, essentially?)
+       */
+      if (window->display->grab_wireframe_active)
+	{
+	  window->display->grab_wireframe_active = FALSE;
+	  meta_effects_end_wireframe (window->display->grab_window->screen,
+                                      &window->display->grab_wireframe_rect);
+	}
+      
       meta_window_queue_move_resize (window);
       meta_window_queue_calc_showing (window);
 
