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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/84e3ff88c3
                   |                            |337db72de7458ff8c1500c0d3e1
                   |                            |1c3

--- Comment #6 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 84e3ff88c3337db72de7458ff8c1500c0d3e11c3 by Vlad Zahorodnii.
Committed on 02/07/2024 at 11:25.
Pushed by vladz into branch 'master'.

Round X window gravity adjustment

Qt applications use Static window gravity by default. This means that if
a window decoration is created, the client window should remain at the same
position in the global coordinate space. To do that, X11Window needs to
move the frame geometry by (-borderLeft(), -borderTop()).

On the other hand, after making X11Window::framePosToClientPos() round
the window borders, the client window can end up being moved more than
expected when applying the gravity adjustment.

This change makes X11Window also round the gravity adjustment so the math
is consistent there and in the framePosToClientPos() function.

M  +16   -16   src/x11window.cpp

https://invent.kde.org/plasma/kwin/-/commit/84e3ff88c3337db72de7458ff8c1500c0d3e11c3

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

Reply via email to