summaryrefslogtreecommitdiff
path: root/plugins/hotkeys/hotkeys.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-11 22:07:29 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-11 22:07:29 +0200
commit08acc7cd6c0f6b7e1bba1b7c70cfaf16dda836f3 (patch)
tree313b28dde3a663c31c7dc101dfe68f05e784ee60 /plugins/hotkeys/hotkeys.c
parent770952b860723d9b159c51cf2fd79f98b7b43ce4 (diff)
hotkeys: better tracing
Diffstat (limited to 'plugins/hotkeys/hotkeys.c')
-rw-r--r--plugins/hotkeys/hotkeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c
index 6da81a25..38e69e87 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -476,9 +476,9 @@ hotkeys_event_loop (void *unused) {
if (event.xkey.type == KeyPress)
{
int state = event.xkey.state;
- trace ("hotkeys: keypress, state=%X\n", state);
// ignore caps/scroll/numlock
state &= (ShiftMask|ControlMask|Mod1Mask|Mod4Mask);
+ trace ("hotkeys: key %d mods %X (%X)\n", event.xkey.keycode, state, event.xkey.state);
trace ("filtered state=%X\n", state);
for (i = 0; i < command_count; i++) {
if ( (event.xkey.keycode == commands[ i ].x11_keycode) &&