mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-13 02:55:46 -07:00
cursormgr: fix invalid access to hyprcursor in xwayland init
fixes #5048
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user