Commit f26c0370 authored by David Edmundson's avatar David Edmundson Committed by David Edmundson
Browse files

Assume enabled if DPMS is not supported

This fixes several unit tests in kwin where the virtual output is not
considered enabled causing behavioural changes.
parent 4d210a94
......@@ -520,6 +520,9 @@ QVector<wl_resource *> OutputInterface::clientResources(ClientConnection *client
bool OutputInterface::isEnabled() const
if (!d->dpms.supported) {
return true;
return d->dpms.mode == DpmsMode::On;
Markdown is supported
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