summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c5
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
}