From 879e7a839af0900848f76429bece2e377a8113a2 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 29 Sep 2023 18:55:05 +0200 Subject: [PATCH] Fix building on v0.30.0 Since Hyprland commit building the plugin was failing with `CHyprGroupBarDecoration` not being declared. This happened because this commit has removed an include in `layout/DwindleLayout.hpp` that contained this struct. Instead of relying on that include being in `DwindleLayout.hpp`, we now include it ourselves directly from `render/decorations/CHyprGroupBarDecoration.hpp`. Note that even with this fix, the plugin will not be buildable until Hyprland commit which fixes another issue created by the commit above, where the `helpers/Vector2D.hpp` had a typo in `macros.hpp` include, which should've been `../macros.hpp`. That said, this commit is a part of version 0.30.0, where the plugin is now working without issues. Fixes #7 --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index c649bcc..ef69869 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ #include #include #include +#include const CColor s_pluginColor = {0x61 / 255.0f, 0xAF / 255.0f, 0xEF / 255.0f, 1.0f};