This commit is contained in:
rhp 2001-06-20 05:47:44 +00:00
parent 5fee634121
commit 12f01149dd

View File

@ -536,7 +536,9 @@ meta_window_hide (MetaWindow *window)
meta_verbose ("%s actually needs unmap\n", window->desc);
window->mapped = FALSE;
window->unmaps_pending += 1;
meta_error_trap_push (window->display);
XUnmapWindow (window->display->xdisplay, window->xwindow);
meta_error_trap_pop (window->display);
}
if (!window->iconic)
@ -795,11 +797,6 @@ meta_window_move_resize_internal (MetaWindow *window,
oldx, oldy, window->rect.width, window->rect.height);
}
/* FIXME we're passing old window size to calc_geometry,
* I believe the right fix is to remove window size
* args from calc_geometry and remove any dependency
* on that in frame code.
*/
if (window->frame)
meta_frame_calc_geometry (window->frame,
&fgeom);