Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
view: update wlr_toplevel size on client resizes
If a floating client resizes itself, sway updates several of its internal dimensions to match but not wlr_toplevel. This means that the next time wlroots sends a toplevel configure event, it can have wrong coordinates that resize the client back to its old size. To fix this, let's just update the next scheduled width/height of the wlr_toplevel when the view size changes. Fixes swaywm#5266.
- Loading branch information