diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 19:18:02 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 19:18:02 +0200 |
commit | ee31e38dc75832a66cb0fc01bcf2f419ac96a20b (patch) | |
tree | 0a5103b2dfc4f7cd68038f198ecc3ccd46984385 /event.c | |
parent | 442334641e4124d8c32387287d431a83761ff916 (diff) | |
download | dwm-ee31e38dc75832a66cb0fc01bcf2f419ac96a20b.tar.gz |
removed NUMLOCKMASK, added dynamically calculated numlockmask instead
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/event.c b/event.c index 187c65e..c8a87c1 100644 --- a/event.c +++ b/event.c @@ -18,7 +18,7 @@ typedef struct { KEYS -#define CLEANMASK(mask) (mask & ~(NUMLOCKMASK | LockMask)) +#define CLEANMASK(mask) (mask & ~(numlockmask | LockMask)) static void movemouse(Client *c) @@ -378,9 +378,9 @@ grabkeys() GrabModeAsync, GrabModeAsync); XGrabKey(dpy, code, key[i].mod | LockMask, root, True, GrabModeAsync, GrabModeAsync); - XGrabKey(dpy, code, key[i].mod | NUMLOCKMASK, root, True, + XGrabKey(dpy, code, key[i].mod | numlockmask, root, True, GrabModeAsync, GrabModeAsync); - XGrabKey(dpy, code, key[i].mod | NUMLOCKMASK | LockMask, root, True, + XGrabKey(dpy, code, key[i].mod | numlockmask | LockMask, root, True, GrabModeAsync, GrabModeAsync); } } |