kwin/src/xwaylandwindow.h
2022-04-23 07:55:51 +00:00

34 lines
555 B
C++

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "x11window.h"
namespace KWin
{
/**
* The XwaylandWindow class represents a managed Xwayland window.
*/
class XwaylandWindow : public X11Window
{
Q_OBJECT
public:
explicit XwaylandWindow();
bool wantsSyncCounter() const override;
private:
void associate();
void initialize();
};
} // namespace KWin