diff options
author | sabetts <sabetts> | 2000-08-26 07:08:23 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-26 07:08:23 +0000 |
commit | f5903db475495040c0d0ef5e4ad1aeb0fbc1723f (patch) | |
tree | 541bf72ab037e0de4337195867a79a4181020069 /manage.c | |
parent | 8f0cd02a27a2052be64940bcd8bbbbdfb19c8cd9 (diff) | |
download | ratpoison-f5903db475495040c0d0ef5e4ad1aeb0fbc1723f.zip |
added functionality to delete and destroy a window
Diffstat (limited to 'manage.c')
-rw-r--r-- | manage.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |