Commit 83275c3f authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: add warning if no matching mode can be found

parent 74b1fb0a
Pipeline #129550 passed with stage
in 13 minutes and 21 seconds
......@@ -420,6 +420,7 @@ bool DrmOutput::queueChanges(const WaylandOutputConfig &config)
}
}
if (index == -1) {
qCWarning(KWIN_DRM).nospace() << "Could not find mode " << props->modeSize << "@" << props->refreshRate << " for output " << this;
return false;
}
m_pipeline->pending.modeIndex = index;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment