kwin/src/xwaylandclient.h
Vlad Zahorodnii 369b768f36 wayland: Mark Xwayland windows ready for painting when mapped
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.
2021-03-31 13:56:55 +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 "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