f60bcfb646
Instead of KScreen turning the display off, do that in KWin directly
24 lines
587 B
C++
24 lines
587 B
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.hugl@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#pragma once
|
|
#include "core/output.h"
|
|
#include "core/outputconfiguration.h"
|
|
|
|
#include <QVector>
|
|
#include <optional>
|
|
|
|
namespace KWin
|
|
{
|
|
namespace KScreenIntegration
|
|
{
|
|
|
|
QString connectedOutputsHash(const QVector<Output *> &outputs, bool isLidClosed);
|
|
std::optional<std::pair<OutputConfiguration, QVector<Output *>>> readOutputConfig(const QVector<Output *> &outputs, const QString &hash);
|
|
}
|
|
}
|