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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/39cea49a8fac
                   |                            |55beae6d3bff51814b81ec34df8
                   |                            |7
         Resolution|---                         |FIXED

--- Comment #12 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 39cea49a8fac55beae6d3bff51814b81ec34df87 by Vlad Zahorodnii, on
behalf of Natalie Clarius.
Committed on 08/03/2023 at 19:04.
Pushed by vladz into branch 'master'.

placement: don't cascade for the sake of windows that are already covered

When checking for overlap with other windows when placing a new window and
cascading to avoid complete overlap, ignore those windows that are already
covered by other windows further on the top anyway.

The computation of the covered area is not entirely accurate as it uses the
bounding rect rather than the combined rects of the windows, but okay enough
for our use case imo.

M  +16   -4    src/placement.cpp

https://invent.kde.org/plasma/kwin/commit/39cea49a8fac55beae6d3bff51814b81ec34df87

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

Reply via email to