summaryrefslogtreecommitdiff
path: root/src/helpers/Box.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-02-02 15:04:04 +0000
committerVaxry <vaxry@vaxry.net>2024-02-02 15:04:04 +0000
commit341e04a36ce5254315a40c563ea7f5d891b289e8 (patch)
treed17fa343d46765b707d692aa2822904b662577f3 /src/helpers/Box.hpp
parentd7514412d8bd143858c53d87fe0d7108f9171cff (diff)
dwindle: avoid sending negative sizes to wlr
fixes #4591
Diffstat (limited to 'src/helpers/Box.hpp')
-rw-r--r--src/helpers/Box.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/Box.hpp b/src/helpers/Box.hpp
index a1ed83be..fd31a7b7 100644
--- a/src/helpers/Box.hpp
+++ b/src/helpers/Box.hpp
@@ -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;