Implement suggestion made by upstream maintainer to handle xrandr support for the most hardware platform.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>