summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
-rw-r--r--src/helpers/MiscFunctions.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index b65f4a87..b3a8ade7 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -185,13 +185,6 @@ std::string escapeJSONStrings(const std::string& str) {
return oss.str();
}
-void scaleBox(wlr_box* box, float scale) {
- box->width = std::round(box->width * scale);
- box->height = std::round(box->height * scale);
- box->x = std::round(box->x * scale);
- box->y = std::round(box->y * scale);
-}
-
std::string removeBeginEndSpacesTabs(std::string str) {
if (str.empty())
return str;