aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/helpers/Region.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Region.cpp b/src/helpers/Region.cpp
index 60c184a8..e2db4664 100644
--- a/src/helpers/Region.cpp
+++ b/src/helpers/Region.cpp
@@ -83,7 +83,7 @@ CRegion& CRegion::translate(const Vector2D& vec) {
}
CRegion& CRegion::scale(float scale) {
- wlr_region_scale(&m_rRegion, scale);
+ wlr_region_scale(&m_rRegion, &m_rRegion, scale);
return *this;
}