Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumble/GlobalShortcut_unix.cpp')
-rw-r--r--src/mumble/GlobalShortcut_unix.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mumble/GlobalShortcut_unix.cpp b/src/mumble/GlobalShortcut_unix.cpp
index 9c56bb616..0dab10101 100644
--- a/src/mumble/GlobalShortcut_unix.cpp
+++ b/src/mumble/GlobalShortcut_unix.cpp
@@ -5,6 +5,7 @@
#include "GlobalShortcut_unix.h"
+#include "EnvUtils.h"
#include "Settings.h"
#include "Global.h"
@@ -62,6 +63,12 @@ GlobalShortcutX::GlobalShortcutX() {
}
#ifdef Q_OS_LINUX
+ if (EnvUtils::waylandIsUsed()) {
+ qWarning("GlobalShortcutX: Global shortcuts don't work on Wayland (see "
+ "https://github.com/mumble-voip/mumble/issues/5257)");
+ return;
+ }
+
if (Global::get().s.bEnableEvdev) {
QString dir = QLatin1String("/dev/input");
QFileSystemWatcher *fsw = new QFileSystemWatcher(QStringList(dir), this);