2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2020-04-27 18:44:12 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
2020-04-27 18:44:12 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2020-04-27 18:44:12 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "x11client.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The XwaylandClient class represents a managed Xwayland client.
|
|
|
|
*/
|
|
|
|
class XwaylandClient : public X11Client
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-02-03 20:15:34 +00:00
|
|
|
explicit XwaylandClient();
|
|
|
|
|
2020-04-27 18:44:12 +00:00
|
|
|
bool wantsSyncCounter() const override;
|
2021-02-03 20:15:34 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void associate();
|
|
|
|
void initialize();
|
2020-04-27 18:44:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWin
|