| 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 |
|
| 7 |
QT_BEGIN_NAMESPACE |
| 8 |
|
| 9 |
namespace QtWaylandClient { |
| 10 |
|
| 11 |
QWaylandShellIntegration::~QWaylandShellIntegration() |
| 12 |
= default; // MUST stay empty until Qt 7 (was inline in Qt < 6.9) |
| 13 |
|
| 14 |
wl_surface *QWaylandShellIntegration::wlSurfaceForWindow(QWaylandWindow *window) |
| 15 |
{ |
| 16 |
return window->wlSurface(); |
| 17 |
} |
| 18 |
|
| 19 |
} |
| 20 |
|
| 21 |
QT_END_NAMESPACE |