window: Construct the frame before the initial move_resize

This ensures sure that the initial ConfigureRequest we make is
correct.
This commit is contained in:
Jasper St. Pierre
2014-05-28 11:45:36 -04:00
parent a8df208a5c
commit 1fe5b3e7d5
2 changed files with 6 additions and 6 deletions

View File

@ -1044,9 +1044,6 @@ _meta_window_shared_new (MetaDisplay *display,
if (window->attached)
meta_window_recalc_features (window);
if (window->decorated)
meta_window_ensure_frame (window);
if (window->type == META_WINDOW_DESKTOP ||
window->type == META_WINDOW_DOCK)
{
@ -1393,9 +1390,6 @@ meta_window_unmanage (MetaWindow *window,
META_WINDOW_GET_CLASS (window)->unmanage (window);
if (window->frame)
meta_window_destroy_frame (window);
meta_prefs_remove_listener (prefs_changed_callback, window);
meta_screen_queue_check_fullscreen (window->screen);