KWin
Loading...
Searching...
No Matches
outputconfiguration.cpp
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2021 Xaver Hugl <xaver.hugl@gmail.com>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
10
11namespace KWin
12{
13
14std::shared_ptr<OutputChangeSet> OutputConfiguration::changeSet(Output *output)
15{
16 auto &ret = m_properties[output];
17 if (!ret) {
18 ret = std::make_shared<OutputChangeSet>();
19 }
20 return ret;
21}
22
23std::shared_ptr<OutputChangeSet> OutputConfiguration::constChangeSet(Output *output) const
24{
25 return m_properties[output];
26}
27}
std::shared_ptr< OutputChangeSet > constChangeSet(Output *output) const
std::shared_ptr< OutputChangeSet > changeSet(Output *output)