From 73b133d0155d376f35833cd992f821399a42f76b Mon Sep 17 00:00:00 2001 From: Ikalco <73481042+ikalco@users.noreply.github.com> Date: Tue, 28 May 2024 16:35:18 -0500 Subject: 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 --- src/managers/CursorManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/CursorManager.hpp') diff --git a/src/managers/CursorManager.hpp b/src/managers/CursorManager.hpp index 4ff9adeb..e76b6829 100644 --- a/src/managers/CursorManager.hpp +++ b/src/managers/CursorManager.hpp @@ -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(); -- cgit v1.2.3