diff --git a/src/main.cpp b/src/main.cpp index bd19a93c..8b78c6f0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,8 +50,7 @@ void wayland_hacks() { // Workaround to https://github.com/ksnip/ksnip/issues/416 DesktopInfo info; - if ((info.windowManager() == DesktopInfo::GNOME) || - (info.windowManager() == DesktopInfo::KDE)) { + if (info.windowManager() == DesktopInfo::GNOME) { qputenv("QT_QPA_PLATFORM", "xcb"); } }