Commit ea3b961e authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

window-wayland: Make sure the size of the buffer rect is kept up to date

When we changed the setting of the buffer rect to be inside the moving
code to make sure it was updated in places we were moving directly
without any round-trip needed, I removed a code to set the buffer rect
without remembering that's where the size of it was updated.

Add back the code to update the buffer rect.

This fixes Wayland windows not appearing.
parent bc510378
......@@ -180,6 +180,9 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
window->rect.width = unconstrained_rect.width;
window->rect.height = unconstrained_rect.height;
window->buffer_rect.width = unconstrained_rect.width;
window->buffer_rect.height = unconstrained_rect.height;
/* This is a commit of an attach. We should move the window to match the
* new position the client wants. */
should_move = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment