author | alwin <alwin> | 2004-08-02 08:19:00 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-08-02 08:19:00 (UTC) |
commit | eb1b398e44c55058d65be0a8d5d8c24db9b6d874 (patch) (unidiff) | |
tree | 5c7b84214e1a414f1de7d006cea49f57addabc82 | |
parent | 26e22b14963afc0e75b9bfdbdf97110249ae87c5 (diff) | |
download | opie-eb1b398e44c55058d65be0a8d5d8c24db9b6d874.zip opie-eb1b398e44c55058d65be0a8d5d8c24db9b6d874.tar.gz opie-eb1b398e44c55058d65be0a8d5d8c24db9b6d874.tar.bz2 |
ignore keys no actions are defined
-rw-r--r-- | noncore/applets/zkbapplet/keyzcfg/zkb.cpp | 9 |
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, | |||
261 | 261 | ||
262 | odebug << "filter: >>> unicode=" << unicode << ", keycode=" << keycode | ||
263 | << ", modifiers=" << modifiers << ", ispressed=" << isPress << oendl; | ||
264 | |||
265 | if (!enabled) { | 262 | if (!enabled) { |
@@ -268,2 +265,5 @@ bool Keymap::filter(int unicode, int keycode, int modifiers, | |||
268 | 265 | ||
266 | odebug << "filter: >>> unicode=" << unicode << ", keycode=" << keycode | ||
267 | << ", modifiers=" << modifiers << ", ispressed=" << isPress << oendl; | ||
268 | |||
269 | // the second check is workaround to make suspend work if | 269 | // the second check is workaround to make suspend work if |
@@ -280,3 +280,4 @@ bool Keymap::filter(int unicode, int keycode, int modifiers, | |||
280 | if (action==0 || !action->isDefined()) { | 280 | if (action==0 || !action->isDefined()) { |
281 | return true; | 281 | odebug << "no action defined for that"<<oendl; |
282 | return false; | ||
282 | } | 283 | } |