2020-08-03 01:22:19 +03:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2014-09-17 12:29:03 +04:00
|
|
|
|
2020-08-03 01:22:19 +03:00
|
|
|
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
2014-09-17 12:29:03 +04:00
|
|
|
|
2020-08-03 01:22:19 +03:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2019-09-24 11:48:08 +03:00
|
|
|
#include "mock_x11client.h"
|
2014-09-17 12:29:03 +04:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2019-09-24 11:48:08 +03:00
|
|
|
X11Client::X11Client(QObject *parent)
|
2015-04-29 15:13:20 +03:00
|
|
|
: AbstractClient(parent)
|
2014-09-17 12:29:03 +04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-09-24 11:48:08 +03:00
|
|
|
X11Client::~X11Client() = default;
|
2014-09-17 12:29:03 +04:00
|
|
|
|
2019-09-24 11:48:08 +03:00
|
|
|
void X11Client::showOnScreenEdge()
|
2014-09-26 16:01:44 +04:00
|
|
|
{
|
2015-10-11 23:48:29 +03:00
|
|
|
setKeepBelow(false);
|
2014-09-27 10:18:20 +04:00
|
|
|
setHiddenInternal(false);
|
2014-09-26 16:01:44 +04:00
|
|
|
}
|
|
|
|
|
2014-09-17 12:29:03 +04:00
|
|
|
}
|