mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window: Don't sync window geometry when we haven't shown it yet
This commit is contained in:
parent
b087fce062
commit
43a409dec4
@ -4970,6 +4970,7 @@ 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);
|
||||||
|
if (window->visible_to_compositor)
|
||||||
meta_compositor_sync_window_geometry (window->display->compositor,
|
meta_compositor_sync_window_geometry (window->display->compositor,
|
||||||
window,
|
window,
|
||||||
did_placement);
|
did_placement);
|
||||||
|
Loading…
Reference in New Issue
Block a user