Closed WolleTD closed 2 years ago
If a monitor has no preferred mode, for example due to an issue in muffin, get_scaled_geometry did segfault when the monitor is inactive.
It was inactive because the chosen configuration wasn't shown as active mode either.
This resulted in not being able to open the display panel to even change to a working configuration without compiling cinnamon-control-center myself.
With this patch, the panel does open even without preferred mode on a monitor.
Closes #288
If a monitor has no preferred mode, for example due to an issue in muffin, get_scaled_geometry did segfault when the monitor is inactive.
It was inactive because the chosen configuration wasn't shown as active mode either.
This resulted in not being able to open the display panel to even change to a working configuration without compiling cinnamon-control-center myself.
With this patch, the panel does open even without preferred mode on a monitor.
Closes #288