Be more careful about querying randr
Check for extension version and number of outputs: XRRGetScreenResourcesCurrent was added in v1.3. Also, there's no guarantee it returns any outputs, and we don't want to die with a BadRROutput error.
Please register or sign in to comment