summaryrefslogtreecommitdiff
path: root/src/helpers/Box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Box.cpp')
-rw-r--r--src/helpers/Box.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helpers/Box.cpp b/src/helpers/Box.cpp
index d3f5d36c..59578f23 100644
--- a/src/helpers/Box.cpp
+++ b/src/helpers/Box.cpp
@@ -1,4 +1,8 @@
#include "Box.hpp"
+
+#include <limits>
+#include <algorithm>
+
wlr_box CBox::wlr() {
CBox rounded = roundInternal();
m_bWlrBox = wlr_box{(int)rounded.x, (int)rounded.y, (int)rounded.w, (int)rounded.h};