dwindle: avoid sending negative sizes to wlr

fixes #4591
This commit is contained in:
Vaxry
2024-02-02 15:04:04 +00:00
parent d7514412d8
commit 341e04a36c
3 changed files with 12 additions and 4 deletions

View File

@@ -51,6 +51,7 @@ class CBox {
CBox& transform(const wl_output_transform t, double w, double h);
CBox& addExtents(const SWindowDecorationExtents& e);
CBox& expand(const double& value);
CBox& noNegativeSize();
CBox copy() const;