kwin/plugins/platforms/hwcomposer/screens_hwcomposer.cpp
Vlad Zahorodnii 79ca5ccd26 Merge OutputScreens into Screens
Since all platforms have been ported to AbstractOutput, OutputScreens
can be merged into Screens. This simplifies the class hierarchy.
2020-12-17 13:36:30 +00:00

22 lines
585 B
C++

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
SPDX-License-Identifier: GPL-3.0-or-later
*/
#include "screens_hwcomposer.h"
#include "hwcomposer_backend.h"
namespace KWin
{
HwcomposerScreens::HwcomposerScreens(HwcomposerBackend *backend, QObject *parent)
: Screens(parent)
{
connect(backend, &HwcomposerBackend::screensQueried, this, &HwcomposerScreens::updateCount);
connect(backend, &HwcomposerBackend::screensQueried, this, &HwcomposerScreens::changed);
}
}