369b768f36
This makes the logic that determines when Xwayland windows can be marked as ready for painting more robust. At the moment, we call setReadyForPainting() when the surface is damaged, but we want Toplevel stop managing damages.
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 "x11client.h"
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
/**
|
|
* The XwaylandClient class represents a managed Xwayland client.
|
|
*/
|
|
class XwaylandClient : public X11Client
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit XwaylandClient();
|
|
|
|
bool wantsSyncCounter() const override;
|
|
|
|
private:
|
|
void associate();
|
|
void initialize();
|
|
};
|
|
|
|
} // namespace KWin
|