Skip to content
Commit 5af86d18 authored by Yifan Zhu's avatar Yifan Zhu
Browse files

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.

BUG: 481460


(cherry picked from commit 111657ad)
parent 045199f3
Pipeline #638055 passed with stage
in 6 minutes and 33 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment