34 lines
555 B
C++
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
|