1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#include "qwaylandshellintegration_p.h"
4#include <QtWaylandClient/private/qwaylanddisplay_p.h>
5#include <QtWaylandClient/private/qwaylandwindow_p.h>
6
7QT_BEGIN_NAMESPACE
8
9namespace QtWaylandClient {
10
11QWaylandShellIntegration::~QWaylandShellIntegration()
12 = default; // MUST stay empty until Qt 7 (was inline in Qt < 6.9)
13
14wl_surface *QWaylandShellIntegration::wlSurfaceForWindow(QWaylandWindow *window)
15{
16 return window->wlSurface();
17}
18
19}
20
21QT_END_NAMESPACE
22

source code of qtbase/src/plugins/platforms/wayland/shellintegration/qwaylandshellintegration.cpp