mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
...
This commit is contained in:
parent
5fee634121
commit
12f01149dd
@ -536,7 +536,9 @@ meta_window_hide (MetaWindow *window)
|
|||||||
meta_verbose ("%s actually needs unmap\n", window->desc);
|
meta_verbose ("%s actually needs unmap\n", window->desc);
|
||||||
window->mapped = FALSE;
|
window->mapped = FALSE;
|
||||||
window->unmaps_pending += 1;
|
window->unmaps_pending += 1;
|
||||||
|
meta_error_trap_push (window->display);
|
||||||
XUnmapWindow (window->display->xdisplay, window->xwindow);
|
XUnmapWindow (window->display->xdisplay, window->xwindow);
|
||||||
|
meta_error_trap_pop (window->display);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!window->iconic)
|
if (!window->iconic)
|
||||||
@ -795,11 +797,6 @@ meta_window_move_resize_internal (MetaWindow *window,
|
|||||||
oldx, oldy, window->rect.width, window->rect.height);
|
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)
|
if (window->frame)
|
||||||
meta_frame_calc_geometry (window->frame,
|
meta_frame_calc_geometry (window->frame,
|
||||||
&fgeom);
|
&fgeom);
|
||||||
|
Loading…
Reference in New Issue
Block a user