summaryrefslogtreecommitdiff
path: root/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'manage.c')
-rw-r--r--manage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/manage.c b/manage.c
index 59dc185..8221819 100644
--- a/manage.c
+++ b/manage.c
@@ -17,6 +17,12 @@ extern Atom wm_state;
void
grab_keys (screen_info *s)
{
+ int i;
+
+ for (i='0'; i<='9'; i++)
+ XGrabKey(dpy, XKeysymToKeycode (dpy, i ), AnyModifier, s->key_window, True,
+ GrabModeAsync, GrabModeAsync);
+
XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_XTERM ), AnyModifier, s->key_window, True,
GrabModeAsync, GrabModeAsync);
XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_EMACS ), AnyModifier, s->key_window, True,