Fix bug introduced in latest Hyprland

A recent change to hyprland, refactoring workspace storage has caused an
issue with including `<hyprland/src/layout/DwindleLayout.hpp>` directly,
since it utilizes the `PHLWORKSPACE` type, which however isn't imported
from this header file. Including
`<hyprland/src/desktop/DesktopTypes.hpp>` manually fixes this issue,
although it might be worth reporting this to hyprland, as this include
probably should be present in this file.

Introduced in Hyprland commit:
<ef23ef60c5>
This commit is contained in:
ItsDrike 2024-04-04 01:28:19 +02:00
parent eb8a9b2dde
commit 6932d4fb33
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,5 +1,6 @@
#pragma once
#include <hyprland/src/desktop/DesktopTypes.hpp> // needed for DwindleLayout.hpp
#include <hyprland/src/layout/DwindleLayout.hpp>
#include <hyprland/src/plugins/HookSystem.hpp>
#include <hyprland/src/plugins/PluginAPI.hpp>