summaryrefslogtreecommitdiff
path: root/plugins/hotkeys
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-12-11 20:46:21 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-12-11 20:46:21 +0100
commita93b42e236720f99ca471f277746702ab2c467f1 (patch)
tree721c62f62f9f22f221d45bc2eeeed022a1e5972c /plugins/hotkeys
parent3afae9cdae28621bfe4bf2f4581bd2ab30c6c958 (diff)
hotkeys: fixed bug #1005 - global hotkeys didn't get ungrabbed correctly on reset
Diffstat (limited to 'plugins/hotkeys')
-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 b7179ca1..42ca7b4d 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -452,7 +452,7 @@ hotkeys_event_loop (void *unused) {
if (f & 8) {
flags |= Mod5Mask;
}
- XUngrabKey (disp, commands[i].keycode, commands[i].modifier | flags, DefaultRootWindow (disp));
+ XUngrabKey (disp, commands[i].x11_keycode, commands[i].modifier | flags, DefaultRootWindow (disp));
}
}
memset (commands, 0, sizeof (commands));