layer-shell-qt-nokde/src/interfaces/shell.cpp

17 lines
326 B
C++
Raw Normal View History

2021-04-01 00:28:01 +00:00
/*
* SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
#include "shell.h"
#include <qglobal.h>
#include <QByteArray>
using namespace LayerShellQt;
void Shell::useLayerShell()
{
qputenv("QT_WAYLAND_SHELL_INTEGRATION", "layer-shell");
}