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

--- Comment #7 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit e1bb824eb5ece286781877514199307f2b02c91e by Vlad Zahorodnii.
Committed on 03/06/2024 at 14:55.
Pushed by vladz into branch 'Plasma/6.1'.

Improve handling of closed windows

A layer shell window can request a screen edge without having a chance
to map the surface. In that case, no Workspace::windowRemoved() signal
is not going to be emitted because no surface has been mapped. Perhaps
it needs some re-wiring, but on the other hand, it is also more reasonable
to monitor Window::closed() signal.

With this change, the ScreenEdges manager will reject any request to
reserve a screen edge for a closed window. And in addition to that,
the ScreenEdges will unreserve screen edges when the window is closed
rather than when the window is unmapped.


(cherry picked from commit cadf16b12e10c591b746d6f8228a16ec0101362b)

1fb3e1a9 Improve handling of closed windows

Co-authored-by: Vlad Zahorodnii <vlad.zahorod...@kde.org>

M  +8    -4    src/screenedge.cpp

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

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

Reply via email to