diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-08-13 12:27:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 18:27:00 +0100 |
| commit | 39df1f4dbfedf97a7f30f9de359f3b3415844380 (patch) | |
| tree | 1dafc1a5c5ab879c3658f4842165b2c63ff9ba9e /src/managers/XCursorManager.hpp | |
| parent | 77cf651825c2afac69e3a827ff910a62c73e1218 (diff) | |
cursormgr: fix cursor gsettings on session change (#7295)
Diffstat (limited to 'src/managers/XCursorManager.hpp')
| -rw-r--r-- | src/managers/XCursorManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/XCursorManager.hpp b/src/managers/XCursorManager.hpp index 464c1ec3..48fda5dd 100644 --- a/src/managers/XCursorManager.hpp +++ b/src/managers/XCursorManager.hpp @@ -31,6 +31,7 @@ class CXCursorManager { void loadTheme(const std::string& name, int size); SP<SXCursors> getShape(std::string const& shape, int size); + void syncGsettings(); private: SP<SXCursors> createCursor(std::string const& shape, XcursorImages* xImages); @@ -38,11 +39,10 @@ class CXCursorManager { std::string getLegacyShapeName(std::string const& shape); std::vector<SP<SXCursors>> loadStandardCursors(std::string const& name, int size); std::vector<SP<SXCursors>> loadAllFromDir(std::string const& path, int size); - void syncGsettings(); int lastLoadSize = 0; std::string themeName = ""; SP<SXCursors> defaultCursor; SP<SXCursors> hyprCursor; std::vector<SP<SXCursors>> cursors; -};
\ No newline at end of file +}; |
