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

fanzhuyi...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/111657ad04 |ma/kwin/-/commit/5af86d18f4
                   |e7627d6e3c7b345a48670459cde |06da03d194c464ac63bbb600aeb
                   |acc                         |c89

--- Comment #17 from fanzhuyi...@gmail.com ---
Git commit 5af86d18f406da03d194c464ac63bbb600aebc89 by Yifan Zhu.
Committed on 20/03/2024 at 21:37.
Pushed by fanzhuyifan into branch 'Plasma/6.0'.

x11window: round border size to integral XNative units

Both frameSize and clientSize are rounded to integral XNative units.
So their difference must also be rounded to integral XNative units.
Otherwise we get cycles of rounding that can cause growing window sizes.


(cherry picked from commit 111657ad04e7627d6e3c7b345a48670459cdeacc)

M  +5    -0    src/utils/xcbutils.cpp
M  +7    -0    src/utils/xcbutils.h
M  +14   -8    src/x11window.cpp

https://invent.kde.org/plasma/kwin/-/commit/5af86d18f406da03d194c464ac63bbb600aebc89

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

Reply via email to