// Copyright (C) 2021 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qwaylandqtshellintegration.h" #include #include #include #include #include "qwaylandqtsurface_p.h" #include #include QT_BEGIN_NAMESPACE namespace QtWaylandClient { QWaylandQtShellIntegration::QWaylandQtShellIntegration() : QWaylandShellIntegrationTemplate(1) { } QWaylandShellSurface *QWaylandQtShellIntegration::createShellSurface(QWaylandWindow *window) { auto *surface = surface_create(wlSurfaceForWindow(window)); return new QWaylandQtSurface(surface, window); } } QT_END_NAMESPACE