You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
688 B
33 lines
688 B
/* |
|
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 createXdgToplevelClient(KWaylandServer::XdgToplevelInterface *surface); |
|
}; |
|
|
|
} // namespace KWin
|
|
|