You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
688 B
C
34 lines
688 B
C
4 years ago
|
/*
|
||
4 years ago
|
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
||
|
|
||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
4 years ago
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "waylandshellintegration.h"
|
||
|
|
||
|
namespace KWaylandServer
|
||
|
{
|
||
|
class XdgToplevelInterface;
|
||
|
class XdgPopupInterface;
|
||
|
}
|
||
|
|
||
|
namespace KWin
|
||
|
{
|
||
|
|
||
4 years ago
|
class XdgShellIntegration : public WaylandShellIntegration
|
||
4 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
4 years ago
|
explicit XdgShellIntegration(QObject *parent = nullptr);
|
||
4 years ago
|
|
||
|
private:
|
||
|
void registerXdgToplevel(KWaylandServer::XdgToplevelInterface *toplevel);
|
||
|
void registerXdgPopup(KWaylandServer::XdgPopupInterface *popup);
|
||
|
void createXdgToplevelClient(KWaylandServer::XdgToplevelInterface *surface);
|
||
|
};
|
||
|
|
||
|
} // namespace KWin
|