backends/drm: add warning if no matching mode can be found
This commit is contained in:
parent
74b1fb0ab5
commit
83275c3f31
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue