From 4fdb7304932cab5d4c5d83b2a9468c9c2dc0f6aa Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 6 Sep 2001 09:01:28 +0000 Subject: numlock, caps lock, and scroll lock are ignored for the prefix key. --- src/manage.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/manage.c') 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 } -- cgit v1.2.3