mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-07-14 02:54:31 -04:00
Initial commit
This commit is contained in:
16
src/interfaces/shell.cpp
Normal file
16
src/interfaces/shell.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 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");
|
||||
}
|
Reference in New Issue
Block a user