summaryrefslogtreecommitdiff
path: root/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-08-26 07:08:23 +0000
committersabetts <sabetts>2000-08-26 07:08:23 +0000
commitf5903db475495040c0d0ef5e4ad1aeb0fbc1723f (patch)
tree541bf72ab037e0de4337195867a79a4181020069 /manage.c
parent8f0cd02a27a2052be64940bcd8bbbbdfb19c8cd9 (diff)
downloadratpoison-f5903db475495040c0d0ef5e4ad1aeb0fbc1723f.zip
added functionality to delete and destroy a window
Diffstat (limited to 'manage.c')
-rw-r--r--manage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/manage.c b/manage.c
index c547d5c..7f2e6f5 100644
--- a/manage.c
+++ b/manage.c
@@ -52,6 +52,8 @@ grab_keys (screen_info *s)
GrabModeAsync, GrabModeAsync);
XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_LASTWINDOW ), AnyModifier, s->key_window, True,
GrabModeAsync, GrabModeAsync);
+ XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_DELETE ), AnyModifier, s->key_window, True,
+ GrabModeAsync, GrabModeAsync);
XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_PREFIX ), AnyModifier, s->key_window, True,
GrabModeAsync, GrabModeAsync);
}