https://bugs.kde.org/show_bug.cgi?id=511075

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/d875d0f295
                   |                            |5cc926d48a35376773051fa6c6b
                   |                            |b47
         Resolution|---                         |FIXED

--- Comment #12 from Zamundaaa <[email protected]> ---
Git commit d875d0f2955cc926d48a35376773051fa6c6bb47 by Xaver Hugl.
Committed on 29/10/2025 at 14:17.
Pushed by zamundaaa into branch 'master'.

scene/cursoritem: always reset the surface item if the surface is nullptr

The previous code misbehaved when a client first destroys the cursor surface
and
only afterwards sets the cursor surface to null.
This is because SurfaceItemWayland::m_surface is a QPointer, so comparisons
with
a nullptr would return true after the surface is destroyed, preventing the
surface
item from being deleted.

M  +4    -6    src/scene/cursoritem.cpp

https://invent.kde.org/plasma/kwin/-/commit/d875d0f2955cc926d48a35376773051fa6c6bb47

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to