hyprctl: Make setcursor better (support XCursor themes, give fail message) (#6097)
* add support for changing to X cursor themes * use new hyprcursor abi for options * remove unneeded struct
This commit is contained in:
parent
722d537a91
commit
73b133d015
3 changed files with 48 additions and 11 deletions
|
|
@ -21,7 +21,7 @@ class CCursorManager {
|
|||
void setCursorSurface(CWLSurface* surf, const Vector2D& hotspot);
|
||||
void setXCursor(const std::string& name);
|
||||
|
||||
void changeTheme(const std::string& name, const int size);
|
||||
bool changeTheme(const std::string& name, const int size);
|
||||
void updateTheme();
|
||||
SCursorImageData dataFor(const std::string& name); // for xwayland
|
||||
void setXWaylandCursor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue