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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/1725e224839b
                   |                            |a5a703fa24299dbbd438bf63fd9
                   |                            |4
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 1725e224839ba5a703fa24299dbbd438bf63fd94 by Vlad Zahorodnii.
Committed on 15/06/2022 at 06:48.
Pushed by vladz into branch 'master'.

effects/slide: Ensure that there's only one visibility ref per window

If a window is added and then the current virtual desktop changes, we
can encounter the following situation:

 * desktopChanged signal is emitted, and the slide effect starts
   animation. SlideEffect::prepareSwitching() will setup windows; note
   that the new window may be present in effects->stackingOrder()
 * windowAdded signal is emitted, and slide effect tries to ref the
   window again

In order to ensure that there's only one reference, maintain visibility
refs in a hashtable.

M  +12   -3    src/effects/slide/slide.cpp
M  +6    -0    src/effects/slide/slide.h

https://invent.kde.org/plasma/kwin/commit/1725e224839ba5a703fa24299dbbd438bf63fd94

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

Reply via email to