Skip to content

Don't compute aspect ratio for empty screen geometries

Nicolas Fella requested to merge work/dividebyzero into master

Apparently some kinds of virtual screens have a geometry of 0x0, which causes a divide-by-zero when computing the aspect ratio

Since the aspect ratio is meaningless in that case just don't show it

BUG: 456235

Merge request reports