diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-12-08 15:04:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-08 15:04:40 +0000 |
| commit | 920353370bba555010506a1c0b204675c60362fe (patch) | |
| tree | 87ba1036ecad6294a9c86dfc828ed2a356c810bd /src/managers/CursorManager.hpp | |
| parent | 834f019bab5df85b912a7aab7054fc8306f7c52a (diff) | |
desktop: cleanup, unify desktop elements as views (#12563)
Diffstat (limited to 'src/managers/CursorManager.hpp')
| -rw-r--r-- | src/managers/CursorManager.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/managers/CursorManager.hpp b/src/managers/CursorManager.hpp index dd3238af..f4c42d30 100644 --- a/src/managers/CursorManager.hpp +++ b/src/managers/CursorManager.hpp @@ -3,6 +3,7 @@ #include <string> #include <hyprcursor/hyprcursor.hpp> #include "../includes.hpp" +#include "../desktop/view/WLSurface.hpp" #include "../helpers/math/Math.hpp" #include "../helpers/memory/Memory.hpp" #include "../macros.hpp" @@ -10,8 +11,6 @@ #include "managers/XCursorManager.hpp" #include <aquamarine/buffer/Buffer.hpp> -class CWLSurface; - AQUAMARINE_FORWARD(IBuffer); class CCursorBuffer : public Aquamarine::IBuffer { @@ -43,7 +42,7 @@ class CCursorManager { SP<Aquamarine::IBuffer> getCursorBuffer(); void setCursorFromName(const std::string& name); - void setCursorSurface(SP<CWLSurface> surf, const Vector2D& hotspot); + void setCursorSurface(SP<Desktop::View::CWLSurface> surf, const Vector2D& hotspot); void setCursorBuffer(SP<CCursorBuffer> buf, const Vector2D& hotspot, const float& scale); void setAnimationTimer(const int& frame, const int& delay); |
