linuxmint / cinnamon-control-center

A collection of configuration plugins used in cinnamon-settings
GNU General Public License v2.0
62 stars 65 forks source link

display panel: fallback if no preferred mode is set #298

Closed WolleTD closed 2 years ago

WolleTD commented 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