mirror of
https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
synced 2024-11-09 18:59:40 +00:00
Fix building on v0.30.0
Since Hyprland commit <3785defaf1
> 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 <1925e64c21
> 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
This commit is contained in:
parent
1ef67f7b26
commit
879e7a839a
|
@ -4,6 +4,7 @@
|
|||
#include <hyprland/src/layout/DwindleLayout.hpp>
|
||||
#include <hyprland/src/managers/KeybindManager.hpp>
|
||||
#include <hyprland/src/managers/LayoutManager.hpp>
|
||||
#include <hyprland/src/render/decorations/CHyprGroupBarDecoration.hpp>
|
||||
|
||||
const CColor s_pluginColor = {0x61 / 255.0f, 0xAF / 255.0f, 0xEF / 255.0f, 1.0f};
|
||||
|
||||
|
|
Loading…
Reference in a new issue