From d9937fcdba978af4f36be6cb20311e08f43841f5 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 4 Sep 2023 17:34:19 +0200 Subject: input: minor constraint fixes fixes the confined region, warping issues, etc. Closes #3158 --- src/helpers/Region.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helpers/Region.hpp') diff --git a/src/helpers/Region.hpp b/src/helpers/Region.hpp index 42458234..e5a99da2 100644 --- a/src/helpers/Region.hpp +++ b/src/helpers/Region.hpp @@ -45,6 +45,7 @@ class CRegion { wlr_box getExtents(); bool containsPoint(const Vector2D& vec); bool empty(); + Vector2D closestPoint(const Vector2D& vec); std::vector getRects() const; -- cgit v1.2.3