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
|
|
|
|
|
2022-04-22 17:54:31 +00:00
|
|
|
#include "x11window.h"
|
2020-04-27 18:44:12 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
2022-04-22 18:15:17 +00:00
|
|
|
* The XwaylandWindow class represents a managed Xwayland window.
|
2020-04-27 18:44:12 +00:00
|
|
|
*/
|
2022-04-22 18:15:17 +00:00
|
|
|
class XwaylandWindow : public X11Window
|
2020-04-27 18:44:12 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-04-22 18:15:17 +00:00
|
|
|
explicit XwaylandWindow();
|
2021-02-03 20:15:34 +00:00
|
|
|
|
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
|