From a065b481f32f4297596a9cd9c538794fd4669b1a Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 11 Mar 2024 20:33:21 +0000 Subject: [PATCH] cursormgr: use XCURSOR_THEME for x themes --- src/managers/CursorManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);