diff --git a/src/backends/meta-monitor-config-manager.c b/src/backends/meta-monitor-config-manager.c index aca753363..f905983d5 100644 --- a/src/backends/meta-monitor-config-manager.c +++ b/src/backends/meta-monitor-config-manager.c @@ -1534,8 +1534,8 @@ meta_monitors_config_new (MetaMonitorManager *monitor_manager, MetaMonitor *monitor = l->data; MetaMonitorSpec *monitor_spec; - if (is_lid_closed (monitor_manager) && - meta_monitor_is_laptop_panel (monitor)) + if (!monitor_matches_rule (monitor, monitor_manager, + MONITOR_MATCH_VISIBLE)) continue; monitor_spec = meta_monitor_get_spec (monitor);