/* * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez * SPDX-FileCopyrightText: 2018 Drew DeVault * * SPDX-License-Identifier: LGPL-3.0-or-later */ #include "qwaylandlayershell_p.h" #include "qwaylandlayersurface_p.h" #include namespace LayerShellQt { QWaylandLayerShell::QWaylandLayerShell(struct QtWayland::zwlr_layer_shell_v1 *shell) : QtWayland::zwlr_layer_shell_v1(shell->object()) { } QWaylandLayerShell::~QWaylandLayerShell() { zwlr_layer_shell_v1_destroy(object()); } QWaylandLayerSurface *QWaylandLayerShell::createLayerSurface( QtWaylandClient::QWaylandWindow *window) { return new QWaylandLayerSurface(this, window); } }