diff options
author | arg@10ksloc.org <unknown> | 2006-08-07 13:40:31 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-07 13:40:31 +0200 |
commit | e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5 (patch) | |
tree | 025cd1836fcebb754c5bf63eeaeff374991caa27 /event.c | |
parent | 1f0060caa36d969deab2643b829529ea943c4714 (diff) | |
download | dwm-e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5.tar.gz dwm-e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5.tar.bz2 dwm-e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5.zip |
applied grabbing-- and shell_minimal
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -359,20 +359,12 @@ grabkeys() for(i = 0; i < len; i++) { code = XKeysymToKeycode(dpy, key[i].keysym); - /* normal */ - XUngrabKey(dpy, code, key[i].mod, root); XGrabKey(dpy, code, key[i].mod, root, True, GrabModeAsync, GrabModeAsync); - /* capslock */ - XUngrabKey(dpy, code, key[i].mod | LockMask, root); XGrabKey(dpy, code, key[i].mod | LockMask, root, True, GrabModeAsync, GrabModeAsync); - /* numlock */ - XUngrabKey(dpy, code, key[i].mod | NUMLOCKMASK, root); XGrabKey(dpy, code, key[i].mod | NUMLOCKMASK, root, True, GrabModeAsync, GrabModeAsync); - /* capslock & numlock */ - XUngrabKey(dpy, code, key[i].mod | NUMLOCKMASK | LockMask, root); XGrabKey(dpy, code, key[i].mod | NUMLOCKMASK | LockMask, root, True, GrabModeAsync, GrabModeAsync); } |