Revert "view: update wlr_toplevel size on client resizes"

This isn't the right fix for this issue because the xwayland code also
uses this function and updating the wlr_toplevel there doesn't make
sense and also causes problems. Fixes #7722.

This reverts commit bf44690ee8.
This commit is contained in:
Dudemanguy 2023-08-28 10:45:43 -05:00 committed by Ronan Pigott
parent bf44690ee8
commit 60a94b4916

View file

@ -931,11 +931,6 @@ void view_update_size(struct sway_view *view) {
con->pending.content_width = view->geometry.width;
con->pending.content_height = view->geometry.height;
container_set_geometry_from_content(con);
// Update the next scheduled width/height so correct coordinates
// are sent on the next toplevel configure from wlroots.
wlr_xdg_toplevel_set_size(view->wlr_xdg_toplevel, view->geometry.width,
view->geometry.height);
}
void view_center_surface(struct sway_view *view) {