diff --git a/src/interfaces/shell.cpp b/src/interfaces/shell.cpp index d9595e2..6eb490c 100644 --- a/src/interfaces/shell.cpp +++ b/src/interfaces/shell.cpp @@ -7,10 +7,14 @@ #include "shell.h" #include #include +#include using namespace LayerShellQt; void Shell::useLayerShell() { - qputenv("QT_WAYLAND_SHELL_INTEGRATION", "layer-shell"); + const bool ret = qputenv("QT_WAYLAND_SHELL_INTEGRATION", "layer-shell"); + if (!ret) { + qCDebug(LAYERSHELLQT) << "Unable to set QT_WAYLAND_SHELL_INTEGRATION=layer-shell"; + } }