4b91c6163f
The word "client" means different things in wayland and kwin. Use a better word to refer to windows.
33 lines
688 B
C++
33 lines
688 B
C++
/*
|
|
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "waylandshellintegration.h"
|
|
|
|
namespace KWaylandServer
|
|
{
|
|
class XdgToplevelInterface;
|
|
class XdgPopupInterface;
|
|
}
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
class XdgShellIntegration : public WaylandShellIntegration
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit XdgShellIntegration(QObject *parent = nullptr);
|
|
|
|
private:
|
|
void registerXdgToplevel(KWaylandServer::XdgToplevelInterface *toplevel);
|
|
void registerXdgPopup(KWaylandServer::XdgPopupInterface *popup);
|
|
void createXdgToplevelWindow(KWaylandServer::XdgToplevelInterface *surface);
|
|
};
|
|
|
|
} // namespace KWin
|