From 341e04a36ce5254315a40c563ea7f5d891b289e8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 2 Feb 2024 15:04:04 +0000 Subject: dwindle: avoid sending negative sizes to wlr fixes #4591 --- src/helpers/Box.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helpers/Box.hpp') 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; -- cgit v1.2.3