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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/d875d0f295 |ma/kwin/-/commit/1c3b81e925
                   |5cc926d48a35376773051fa6c6b |bbc970deab14c71eee1d0f320ea
                   |b47                         |8e0

--- Comment #13 from Zamundaaa <[email protected]> ---
Git commit 1c3b81e925bbc970deab14c71eee1d0f320ea8e0 by Xaver Hugl.
Committed on 29/10/2025 at 19:50.
Pushed by zamundaaa into branch 'Plasma/6.5'.

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.


(cherry picked from commit d875d0f2955cc926d48a35376773051fa6c6bb47)

Co-authored-by: Xaver Hugl <[email protected]>

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

https://invent.kde.org/plasma/kwin/-/commit/1c3b81e925bbc970deab14c71eee1d0f320ea8e0

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

Reply via email to