1 /*
2     KWin - the KDE window manager
3     This file is part of the KDE project.
4 
5     SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
6 
7     SPDX-License-Identifier: GPL-2.0-or-later
8 */
9 
10 #pragma once
11 
12 #include "x11client.h"
13 
14 namespace KWin
15 {
16 
17 /**
18  * The XwaylandClient class represents a managed Xwayland client.
19  */
20 class XwaylandClient : public X11Client
21 {
22     Q_OBJECT
23 
24 public:
25     explicit XwaylandClient();
26 
27     bool wantsSyncCounter() const override;
28 
29 private:
30     void associate();
31     void initialize();
32 };
33 
34 } // namespace KWin
35