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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/0ca7b40da045
                   |                            |7e1ee5ce079d78d304c76b7592b
                   |                            |5
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 0ca7b40da0457e1ee5ce079d78d304c76b7592b5 by Vlad Zahorodnii, on
behalf of Dominique Hummel.
Committed on 14/02/2023 at 12:03.
Pushed by vladz into branch 'master'.

tiling: Evacuate tiled windows from custom & quick tiling on output removal

Context: If a display is removed, the corresponding TileManager is removed with
it. This in turn removes every one of its Tiles with it, and when a Tile's
destructor is called, it attempts to find a new replacement tile for any
windows it was previously managing.

However, if the Tile is removed because its corresponding TileManager has been
removed, this has the potential to cause a segfault in KWin, causing it to
crash (I suspect a possible race condition? but not sure).

This MR correctly evacuates custom tiled windows & migrates quick tiled windows
upon output removal.

M  +8    -0    src/tiles/tile.cpp
M  +5    -0    src/tiles/tile.h
M  +42   -3    src/workspace.cpp

https://invent.kde.org/plasma/kwin/commit/0ca7b40da0457e1ee5ce079d78d304c76b7592b5

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

Reply via email to