Merge branch 'main' into gnome-44-max
This commit is contained in:
commit
7217461291
|
|
@ -130,7 +130,8 @@ class BreezyDesktopExtension {
|
|||
try {
|
||||
Globals.logger.log_debug('BreezyDesktopExtension _find_supported_monitor');
|
||||
const target_monitor = this._monitor_manager.getMonitorPropertiesList()?.find(
|
||||
monitor => SUPPORTED_MONITOR_PRODUCTS.includes(monitor.product));
|
||||
monitor => SUPPORTED_MONITOR_PRODUCTS.includes(monitor.product) ||
|
||||
this.settings.get_string('custom-monitor-product') === monitor.product);
|
||||
if (target_monitor !== undefined) {
|
||||
Globals.logger.log(`Identified supported monitor: ${target_monitor.product} on ${target_monitor.connector}`);
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -162,6 +162,15 @@
|
|||
<description>
|
||||
Log debug messages
|
||||
</description>
|
||||
</key>
|
||||
<key name="custom-monitor-product" type="s">
|
||||
<default>
|
||||
""
|
||||
</default>
|
||||
<summary>Custom monitor product</summary>
|
||||
<description>
|
||||
Custom monitor product
|
||||
</description>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
|
|
|
|||
Loading…
Reference in New Issue