mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:26:00 +01:00
cursormgr: don't set x theme in changeTheme
This commit is contained in:
parent
03e99f93ae
commit
89543e8e3c
1 changed files with 0 additions and 3 deletions
|
@ -230,8 +230,5 @@ void CCursorManager::changeTheme(const std::string& name, const int size) {
|
||||||
if (!m_pHyprcursor->valid())
|
if (!m_pHyprcursor->valid())
|
||||||
Debug::log(ERR, "Hyprcursor failed loading theme \"{}\", falling back to X.", m_szTheme);
|
Debug::log(ERR, "Hyprcursor failed loading theme \"{}\", falling back to X.", m_szTheme);
|
||||||
|
|
||||||
setenv("XCURSOR_SIZE", std::to_string(m_iSize).c_str(), true);
|
|
||||||
setenv("XCURSOR_THEME", name.c_str(), true);
|
|
||||||
|
|
||||||
updateTheme();
|
updateTheme();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue