Fix KScreenIntegration::connectedOutputsHash()
We want to ignore non-desktop outputs, not normal outputs.
This commit is contained in:
parent
7580f74d95
commit
e217fda7f0
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ QString connectedOutputsHash(const QVector<Output *> &outputs, bool isLidClosed)
|
|||
QStringList hashedOutputs;
|
||||
hashedOutputs.reserve(outputs.count());
|
||||
for (auto output : std::as_const(outputs)) {
|
||||
if (output->isPlaceholder() || !output->isNonDesktop()) {
|
||||
if (output->isPlaceholder() || output->isNonDesktop()) {
|
||||
continue;
|
||||
}
|
||||
if (output->isInternal() && isLidClosed) {
|
||||
|
|
Loading…
Reference in a new issue