Skip to content

x11window: round border size to integral XNative units

Yifan Zhu requested to merge work/fanzhuyifan/x11window into master

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

Merge request reports

Loading