summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-18 11:17:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-18 11:17:36 +0100
commit9e4e174fb1dd2428cac98667e8054e8e063781f7 (patch)
treed6bd3249f477349a1f26e40c0639fc8071a0c96c
parentf0c1b0c5ac63cc7611f4afa21699f1240fed7a9f (diff)
qxt: warn on x11 key grab failure
-rw-r--r--qxt-mini/qxtglobalshortcut_x11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qxt-mini/qxtglobalshortcut_x11.cpp b/qxt-mini/qxtglobalshortcut_x11.cpp
index 12279ac8..b87ebccd 100644
--- a/qxt-mini/qxtglobalshortcut_x11.cpp
+++ b/qxt-mini/qxtglobalshortcut_x11.cpp
@@ -125,6 +125,7 @@ public:
}
if (errorHandler.error) {
+ qWarning() << "grab key error for" << "keycode" << keycode;
ungrabKey(keycode, modifiers, window);
return false;
}