Correctly determines the appropriate mode and scale set for mirrored monitors. In master, the mirror scale was being set to 2.0, even when both component monitors were set to 1.0.
Separate functions used to get common modes and maximum compatible scale within those mode. If the mode and scales actually in use were less than the maximum compatible, the highest in use is used for the mirror.
This PR is based on #207. Together, switching to mirrored and back again, with one external monitor, should work correctly. (To be tested with > 1 external monitor).
Correctly determines the appropriate mode and scale set for mirrored monitors. In master, the mirror scale was being set to 2.0, even when both component monitors were set to 1.0.
Separate functions used to get common modes and maximum compatible scale within those mode. If the mode and scales actually in use were less than the maximum compatible, the highest in use is used for the mirror.
This PR is based on #207. Together, switching to mirrored and back again, with one external monitor, should work correctly. (To be tested with > 1 external monitor).