/* * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez * SPDX-FileCopyrightText: 2018 Drew DeVault * * SPDX-License-Identifier: LGPL-3.0-or-later */ #include "qwaylandlayershell_p.h" #include "qwaylandlayershellintegration_p.h" #include "qwaylandlayersurface_p.h" #include #include #include namespace LayerShellQt { QWaylandLayerShellIntegration::QWaylandLayerShellIntegration() : m_layerShell(new QWaylandLayerShell()) { } QWaylandLayerShellIntegration::~QWaylandLayerShellIntegration() { } bool QWaylandLayerShellIntegration::initialize(QtWaylandClient::QWaylandDisplay *display) { Q_UNUSED(display) return m_layerShell->isActive(); } QtWaylandClient::QWaylandShellSurface *QWaylandLayerShellIntegration::createShellSurface(QtWaylandClient::QWaylandWindow *window) { return new QWaylandLayerSurface(m_layerShell.get(), window); } }