summaryrefslogtreecommitdiff
path: root/src/helpers/Region.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-04 17:34:19 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-04 17:34:19 +0200
commitd9937fcdba978af4f36be6cb20311e08f43841f5 (patch)
treefa6eabe334287e4d7149bcdc0d66d88a52e62965 /src/helpers/Region.hpp
parente3c83ab2e000e2d4fd01f5ada5e9eae91237bb41 (diff)
input: minor constraint fixes
fixes the confined region, warping issues, etc. Closes #3158
Diffstat (limited to 'src/helpers/Region.hpp')
-rw-r--r--src/helpers/Region.hpp1
1 files changed, 1 insertions, 0 deletions
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<pixman_box32_t> getRects() const;