summaryrefslogtreecommitdiff
path: root/src/managers/CursorManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-09 21:54:33 +0000
committerVaxry <vaxry@vaxry.net>2024-03-09 21:54:33 +0000
commit739c5bc98c6037101e5744827dd66e696a4e9ecd (patch)
tree744f2df98151a137af6d26b073d07c47f6ecfb1c /src/managers/CursorManager.hpp
parent26cd1bf949d0460b754fe3b1ae7f06bd4b2535ee (diff)
cursormgr: fix invalid access to hyprcursor in xwayland init
fixes #5048
Diffstat (limited to 'src/managers/CursorManager.hpp')
-rw-r--r--src/managers/CursorManager.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/CursorManager.hpp b/src/managers/CursorManager.hpp
index b1c49b31..0e8d99bc 100644
--- a/src/managers/CursorManager.hpp
+++ b/src/managers/CursorManager.hpp
@@ -8,6 +8,7 @@
struct wlr_buffer;
struct wlr_xcursor_manager;
+struct wlr_xwayland;
class CCursorManager {
public:
@@ -21,6 +22,7 @@ class CCursorManager {
void changeTheme(const std::string& name, const int size);
void updateTheme();
SCursorImageData dataFor(const std::string& name); // for xwayland
+ void setXWaylandCursor(wlr_xwayland* xwayland);
void tickAnimatedCursor();