summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-10-30 21:40:16 +0000
committersabetts <sabetts>2000-10-30 21:40:16 +0000
commit829be00d69387bd9114db64d3bab5f235fdc1bc4 (patch)
tree4adf83eb62362009dc2d665e2093969df2395ed7 /src/manage.c
parent3447cb9fe7c1a28d44b1b9b98c6227a4bb9075fe (diff)
downloadratpoison-829be00d69387bd9114db64d3bab5f235fdc1bc4.zip
added ifdef's to toggle the hide mouse feature
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 *