aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBrett Alcox <[email protected]>2023-11-05 11:32:27 -0600
committerGitHub <[email protected]>2023-11-05 17:32:27 +0000
commita122271f096076ab34750dbbf6914422e7481410 (patch)
treeb51ed9a2694295067b029fccab6b46ef689fa2e0
parent600a128f83c9f6d6cf37d4e9de6bf9001d321bd0 (diff)
downloadHyprland-a122271f096076ab34750dbbf6914422e7481410.tar.gz
Hyprland-a122271f096076ab34750dbbf6914422e7481410.zip
includes: fix box headers (#3771)
-rw-r--r--src/helpers/Box.hpp4
-rw-r--r--src/includes.hpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/helpers/Box.hpp b/src/helpers/Box.hpp
index a5f24d7b..592bb417 100644
--- a/src/helpers/Box.hpp
+++ b/src/helpers/Box.hpp
@@ -1,8 +1,8 @@
#pragma once
-#include <wlr/util/box.h>
#include "Vector2D.hpp"
#include "../SharedDefs.hpp"
+#include "../includes.hpp"
class CBox {
public:
@@ -77,4 +77,4 @@ class CBox {
CBox roundInternal();
wlr_box m_bWlrBox;
-}; \ No newline at end of file
+};
diff --git a/src/includes.hpp b/src/includes.hpp
index b6f357bf..a89f0950 100644
--- a/src/includes.hpp
+++ b/src/includes.hpp
@@ -105,6 +105,7 @@ extern "C" {
#include <wlr/types/wlr_idle_notify_v1.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
#include <wlr/types/wlr_tearing_control_v1.h>
+#include <wlr/util/box.h>
#include <libdrm/drm_fourcc.h>