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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/4790916fb12e |ma/kwin/commit/1c5215009865
                   |f4a975307a31acda28ea023058f |c20b18c0f3114b167080cd70a33
                   |b                           |a

--- Comment #25 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 1c5215009865c20b18c0f3114b167080cd70a33a by Vlad Zahorodnii.
Committed on 18/07/2022 at 11:57.
Pushed by vladz into branch 'Plasma/5.25'.

x11: Fix shading with non-zero border

There was a geometry change that fixed mixing the next and current
geometries. While it did fix issues on wayland, it broke window shading
on x11 because of an obscure resize() call.

That obscure resize() had a side-effect that ensures m_clientGeometry
has the right value so the next time the window is unshaded,
implicitSize() will return a good value.

In order to make window size computation more robust, this change makes
X11Window compute the natural frame size based on cached size in
m_client, which shouldn't change when the window is shaded.

However, given how buggy window shading is and how difficult it is to
make it work right, I think that it's better to deprecate window shading
and remove it in some future release.
(cherry picked from commit 4790916fb12ef4a975307a31acda28ea023058fb)

M  +0    -9    src/window.cpp
M  +0    -1    src/window.h
M  +11   -2    src/x11window.cpp
M  +1    -0    src/x11window.h

https://invent.kde.org/plasma/kwin/commit/1c5215009865c20b18c0f3114b167080cd70a33a

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

Reply via email to