Commit c0226fe7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Clear both cursor caches

Summary: There are two cursor caches: m_cursors and m_cursorsByName. The second doesn't ever seem to be cleared.

Reviewers: #kwin, davidedmundson, graesslin

Reviewed By: #kwin, graesslin

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 4156a0af
......@@ -908,6 +908,7 @@ CursorImage::CursorImage(PointerInputRedirection *parent)
connect(m_cursorTheme, &WaylandCursorTheme::themeChanged, this,
[this] {
loadThemeCursor(Qt::ArrowCursor, &m_fallbackCursor);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment