From e48de30516d5a0400b27a0d6bfeb1b9181e8ebf5 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Mon, 7 Aug 2006 13:40:31 +0200 Subject: applied grabbing-- and shell_minimal --- event.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 69a628e..2e4f62e 100644 --- a/event.c +++ b/event.c @@ -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); } -- cgit v1.2.3-13-gbd6f