mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
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:
parent
bf44690ee8
commit
60a94b4916
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue