File indexing completed on 2024-02-18 16:20:29

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #pragma once
0011 
0012 #include "x11window.h"
0013 
0014 namespace KWin
0015 {
0016 
0017 /**
0018  * The XwaylandWindow class represents a managed Xwayland window.
0019  */
0020 class XwaylandWindow : public X11Window
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     explicit XwaylandWindow();
0026 
0027     bool wantsSyncCounter() const override;
0028 
0029 private:
0030     void associate();
0031     void initialize();
0032 };
0033 
0034 } // namespace KWin