mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 04:25:58 +01:00
cursormgr: use XCURSOR_THEME for x themes
This commit is contained in:
parent
0fc9d45e4b
commit
a065b481f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue