summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/kmstest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp
index 1c2d086..06e00ba 100644
--- a/utils/kmstest.cpp
+++ b/utils/kmstest.cpp
@@ -637,9 +637,9 @@ static vector<OutputInfo> setups_to_outputs(Card& card, ResourceManager& resman,
}
if (outputs.empty()) {
- // no outputs defined, show a pattern on all screens
+ // no outputs defined, show a pattern on all connected screens
for (Connector* conn : card.get_connectors()) {
- if (!conn->connected())
+ if (conn->connector_status() != ConnectorStatus::Connected)
continue;
OutputInfo output = { };