summaryrefslogtreecommitdiff
path: root/noncore/applets/zkbapplet/keyzcfg/zkb.cpp
Side-by-side diff
Diffstat (limited to 'noncore/applets/zkbapplet/keyzcfg/zkb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/zkbapplet/keyzcfg/zkb.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/applets/zkbapplet/keyzcfg/zkb.cpp b/noncore/applets/zkbapplet/keyzcfg/zkb.cpp
index a357b88..3cc3669 100644
--- a/noncore/applets/zkbapplet/keyzcfg/zkb.cpp
+++ b/noncore/applets/zkbapplet/keyzcfg/zkb.cpp
@@ -261,5 +261,2 @@ bool Keymap::filter(int unicode, int keycode, int modifiers,
- odebug << "filter: >>> unicode=" << unicode << ", keycode=" << keycode
- << ", modifiers=" << modifiers << ", ispressed=" << isPress << oendl;
-
if (!enabled) {
@@ -268,2 +265,5 @@ bool Keymap::filter(int unicode, int keycode, int modifiers,
+ odebug << "filter: >>> unicode=" << unicode << ", keycode=" << keycode
+ << ", modifiers=" << modifiers << ", ispressed=" << isPress << oendl;
+
// the second check is workaround to make suspend work if
@@ -280,3 +280,4 @@ bool Keymap::filter(int unicode, int keycode, int modifiers,
if (action==0 || !action->isDefined()) {
- return true;
+ odebug << "no action defined for that"<<oendl;
+ return false;
}