From d3175795d06fe83aa1723cb4567899029f3a3215 Mon Sep 17 00:00:00 2001 From: Debian Qt/KDE Maintainers Date: Sun, 14 Jul 2019 11:19:27 +0100 Subject: [PATCH] add-lxde-support Gbp-Pq: Name add-lxde-support.patch --- src/gui/kernel/qapplication_x11.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/kernel/qapplication_x11.cpp b/src/gui/kernel/qapplication_x11.cpp index b630cab82..213de055c 100644 --- a/src/gui/kernel/qapplication_x11.cpp +++ b/src/gui/kernel/qapplication_x11.cpp @@ -2355,6 +2355,11 @@ void qt_init(QApplicationPrivate *priv, int, break; } + if (qgetenv("DESKTOP_SESSION") == "LXDE") { + X11->desktopEnvironment = DE_GNOME; + break; + } + // GNOME_DESKTOP_SESSION_ID is deprecated for some reason, but still check it if (!qgetenv("GNOME_DESKTOP_SESSION_ID").isEmpty()) { X11->desktopEnvironment = DE_GNOME; -- 2.30.2