Get real width and height of best fit resolution only if resolutions list is not empty.
xrandr: use primary output if window manager reports this information