/* * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez * * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "shell.h" #include #include #include using namespace LayerShellQt; void Shell::useLayerShell() { const bool ret = qputenv("QT_WAYLAND_SHELL_INTEGRATION", "layer-shell"); if (!ret) { qCDebug(LAYERSHELLQT) << "Unable to set QT_WAYLAND_SHELL_INTEGRATION=layer-shell"; } }