|
|
|
@ -8,7 +8,6 @@ diff -urNr desktop-3.2.1-orig/src/gui/main.cpp desktop-3.2.1/src/gui/main.cpp
|
|
|
|
|
+#ifdef Q_OS_LINUX
|
|
|
|
|
+void wayland_hacks()
|
|
|
|
|
+{
|
|
|
|
|
+ // Workaround to https://github.com/ksnip/ksnip/issues/416
|
|
|
|
|
+ QByteArray currentDesktop = qgetenv("XDG_CURRENT_DESKTOP").toLower();
|
|
|
|
|
+ QByteArray sessionDesktop = qgetenv("XDG_SESSION_DESKTOP").toLower();
|
|
|
|
|
+ QByteArray sessionType = qgetenv("XDG_SESSION_TYPE").toLower();
|
|
|
|
|