diff options
author | sabetts <sabetts> | 2001-09-06 09:01:28 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-09-06 09:01:28 +0000 |
commit | 4fdb7304932cab5d4c5d83b2a9468c9c2dc0f6aa (patch) | |
tree | 328a786c9ec4514dbc0e59a0eb9690c1d2b636ab /src/manage.c | |
parent | fdf305b75123f1ca5b7e08e951760a93a2c106fd (diff) | |
download | ratpoison-4fdb7304932cab5d4c5d83b2a9468c9c2dc0f6aa.zip |
numlock, caps lock, and scroll lock are ignored for the prefix key.
Diffstat (limited to 'src/manage.c')
-rw-r--r-- | src/manage.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/manage.c b/src/manage.c index 6f2357d..47e5574 100644 --- a/src/manage.c +++ b/src/manage.c @@ -48,8 +48,7 @@ grab_prefix_key (Window w) XGrabKey(dpy, AnyKey, AnyModifier, w, True, GrabModeAsync, GrabModeAsync); #else - XGrabKey(dpy, XKeysymToKeycode (dpy, prefix_key.sym ), prefix_key.state, - w, True, GrabModeAsync, GrabModeAsync); + grab_key (XKeysymToKeycode (dpy, prefix_key.sym), prefix_key.state, w); #endif } @@ -58,7 +57,7 @@ ungrab_prefix_key (Window w) { #ifdef HIDE_MOUSE #else - XUngrabKey(dpy, XKeysymToKeycode (dpy, prefix_key.sym ), prefix_key.state, w); + XUngrabKey(dpy, XKeysymToKeycode (dpy, prefix_key.sym), AnyModifier, w); #endif } |