summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/manage.c b/src/manage.c
index 3e72f5f..a4b6eeb 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -42,10 +42,13 @@ extern Atom wm_state;
static void
grab_prefix_key (Window w)
{
+#ifdef HIDE_MOUSE
XGrabKey(dpy, AnyKey, AnyModifier, w, True,
GrabModeAsync, GrabModeAsync);
-/* XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_PREFIX ), MODIFIER_PREFIX, w, True, */
-/* GrabModeAsync, GrabModeAsync); */
+#else
+ XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_PREFIX ), MODIFIER_PREFIX, w, True,
+ GrabModeAsync, GrabModeAsync);
+#endif
}
char *