summaryrefslogtreecommitdiff
path: root/src/helpers/Region.hpp
diff options
context:
space:
mode:
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;