diff --git a/xcb.patch b/xcb.patch index f396b69..a1211da 100644 --- a/xcb.patch +++ b/xcb.patch @@ -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();