kwin/waylandxdgshellintegration.h

34 lines
702 B
C
Raw Normal View History

/*
2020-08-02 22:22:19 +00:00
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 WaylandXdgShellIntegration : public WaylandShellIntegration
{
Q_OBJECT
public:
explicit WaylandXdgShellIntegration(QObject *parent = nullptr);
private:
void registerXdgToplevel(KWaylandServer::XdgToplevelInterface *toplevel);
void registerXdgPopup(KWaylandServer::XdgPopupInterface *popup);
void createXdgToplevelClient(KWaylandServer::XdgToplevelInterface *surface);
};
} // namespace KWin