cursor: reset hc data after theme change
theme change invalidates the cairo surfaces there fixes #10636
This commit is contained in:
parent
79b9edb85b
commit
472b52bc06
1 changed files with 2 additions and 1 deletions
|
|
@ -294,7 +294,8 @@ void CCursorManager::updateTheme() {
|
||||||
highestScale = m->m_scale;
|
highestScale = m->m_scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_cursorScale = highestScale;
|
m_cursorScale = highestScale;
|
||||||
|
m_currentCursorShapeData = {};
|
||||||
|
|
||||||
if (*PUSEHYPRCURSOR) {
|
if (*PUSEHYPRCURSOR) {
|
||||||
if (m_currentStyleInfo.size > 0 && m_hyprcursor->valid())
|
if (m_currentStyleInfo.size > 0 && m_hyprcursor->valid())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue