cursormgr: don't set x theme in changeTheme

This commit is contained in:
Vaxry 2024-03-24 20:47:09 +00:00
parent 03e99f93ae
commit 89543e8e3c

View file

@ -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();
} }