diff options
author | sabetts <sabetts> | 2000-08-31 02:38:10 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-31 02:38:10 +0000 |
commit | b86e0c298d6881fe1a79ab4bb592aefb47147817 (patch) | |
tree | 82154a33d2be3b801c7ae9d4443fc5480ef9a6f0 /manage.c | |
parent | 51b0db69e403175301fc381dbad55357c1ca4622 (diff) | |
download | ratpoison-b86e0c298d6881fe1a79ab4bb592aefb47147817.zip |
Added an input_window to allow the user to type data. This is used to
jump to a window by name. Added functionality to jump to a window by name.
Diffstat (limited to 'manage.c')
-rw-r--r-- | manage.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -57,6 +57,8 @@ grab_keys (screen_info *s) GrabModeAsync, GrabModeAsync); XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_PREFIX ), AnyModifier, s->key_window, True, GrabModeAsync, GrabModeAsync); + XGrabKey(dpy, XKeysymToKeycode (dpy, KEY_WINBYNAME ), AnyModifier, s->key_window, True, + GrabModeAsync, GrabModeAsync); } static void @@ -163,9 +165,8 @@ scanwins(screen_info *s) for (i = 0; i < nwins; i++) { XGetWindowAttributes(dpy, wins[i], &attr); - if (wins[i] == s->bar_window || wins[i] == s->key_window) continue; + if (wins[i] == s->bar_window || wins[i] == s->key_window || wins[i] == s->input_window) continue; - if (attr.override_redirect != True) { win = add_to_window_list (s, wins[i]); |