window: Don't sync window geometry when we haven't shown it yet

This commit is contained in:
Jasper St. Pierre 2014-03-18 18:55:32 -04:00
parent b087fce062
commit 43a409dec4

View File

@ -4970,9 +4970,10 @@ meta_window_move_resize_internal (MetaWindow *window,
newx, newy, window->rect.width, window->rect.height, newx, newy, window->rect.width, window->rect.height,
window->user_rect.x, window->user_rect.y, window->user_rect.x, window->user_rect.y,
window->user_rect.width, window->user_rect.height); window->user_rect.width, window->user_rect.height);
meta_compositor_sync_window_geometry (window->display->compositor, if (window->visible_to_compositor)
window, meta_compositor_sync_window_geometry (window->display->compositor,
did_placement); window,
did_placement);
} }
else else
{ {