Skip to content

xcb: only set base size when it's valid

In rare situation, base size could be (-1,-1) or (-2,-2) for high dpi, it will be converted into huge positive numbers.

If a base size is not provided, the minimum size is to be used in its place and vice versa.

Pick-to: 6.6 6.5 6.2 5.15 Task-number: QTBUG-117702 Change-Id: I900ed82f2291fb454d7e34a0dee27459d0a57240 Reviewed-by: Qt CI Bot Reviewed-by: Tor Arne Vestbø Reviewed-by: Axel Spoerl (cherry picked from commit 25720f5a)

Note: Not yet in 5.15 branch, see also:

Merge request reports