cursor: reset hc data after theme change

theme change invalidates the cairo surfaces there

fixes #10636
This commit is contained in:
Vaxry
2025-06-15 11:46:57 +02:00
parent 79b9edb85b
commit 472b52bc06

View File

@@ -294,7 +294,8 @@ void CCursorManager::updateTheme() {
highestScale = m->m_scale;
}
m_cursorScale = highestScale;
m_cursorScale = highestScale;
m_currentCursorShapeData = {};
if (*PUSEHYPRCURSOR) {
if (m_currentStyleInfo.size > 0 && m_hyprcursor->valid())