cursormgr: fix invalid access to hyprcursor in xwayland init
fixes #5048
This commit is contained in:
parent
26cd1bf949
commit
739c5bc98c
3 changed files with 19 additions and 5 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue