summaryrefslogtreecommitdiff
path: root/src/managers/CursorManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-11 20:33:21 +0000
committerVaxry <vaxry@vaxry.net>2024-03-11 20:33:26 +0000
commita065b481f32f4297596a9cd9c538794fd4669b1a (patch)
tree5e2689ed0f071f335fec4634709c1d8d4475a6cf /src/managers/CursorManager.cpp
parent0fc9d45e4be40cb148fcee2ae6a0574ae63f29aa (diff)
cursormgr: use XCURSOR_THEME for x themes
Diffstat (limited to 'src/managers/CursorManager.cpp')
-rw-r--r--src/managers/CursorManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/CursorManager.cpp b/src/managers/CursorManager.cpp
index 2467b593..c3916e4b 100644
--- a/src/managers/CursorManager.cpp
+++ b/src/managers/CursorManager.cpp
@@ -33,7 +33,7 @@ CCursorManager::CCursorManager() {
if (m_iSize == 0)
m_iSize = 24;
- m_pWLRXCursorMgr = wlr_xcursor_manager_create(nullptr, m_iSize);
+ m_pWLRXCursorMgr = wlr_xcursor_manager_create(getenv("XCURSOR_THEME"), m_iSize);
wlr_xcursor_manager_load(m_pWLRXCursorMgr, 1.0);
m_pAnimationTimer = wl_event_loop_add_timer(g_pCompositor->m_sWLEventLoop, ::cursorAnimTimer, nullptr);