platforms/drm: fix legacy dpms
BUG: 442969
This commit is contained in:
parent
7bca5d737d
commit
4aebf0d730
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ bool DrmPipeline::setActive(bool active)
|
|||
success = atomicCommit();
|
||||
}
|
||||
} else {
|
||||
m_connector->getProp(DrmConnector::PropertyIndex::Dpms)->setPropertyLegacy(active ? DRM_MODE_DPMS_ON : DRM_MODE_DPMS_OFF);
|
||||
success = m_connector->getProp(DrmConnector::PropertyIndex::Dpms)->setPropertyLegacy(active ? DRM_MODE_DPMS_ON : DRM_MODE_DPMS_OFF);
|
||||
}
|
||||
if (!success) {
|
||||
qCWarning(KWIN_DRM) << "Setting active to" << active << "failed" << strerror(errno);
|
||||
|
|
Loading…
Reference in a new issue