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
11wl_surface *QWaylandShellIntegration::wlSurfaceForWindow(QWaylandWindow *window)
12{
13 return window->wlSurface();
14}
15
16}
17
18QT_END_NAMESPACE
19

source code of qtwayland/src/client/shellintegration/qwaylandshellintegration.cpp