kwin/xwl/xwayland_interface.cpp

33 lines
539 B
C++
Raw Normal View History

2020-08-02 22:22:19 +00:00
/*
KWin - the KDE window manager
This file is part of the KDE project.
2020-08-02 22:22:19 +00:00
SPDX-FileCopyrightText: 2019 Roman Gilg <subdiff@gmail.com>
2020-08-02 22:22:19 +00:00
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "xwayland_interface.h"
namespace KWin
{
XwaylandInterface *s_self = nullptr;
XwaylandInterface *XwaylandInterface::self()
{
return s_self;
}
XwaylandInterface::XwaylandInterface(QObject *parent)
: QObject(parent)
{
s_self = this;
}
XwaylandInterface::~XwaylandInterface()
{
s_self = nullptr;
}
2019-07-02 19:56:03 +00:00
} // namespace KWin