From b86e0c298d6881fe1a79ab4bb592aefb47147817 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 31 Aug 2000 02:38:10 +0000 Subject: 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. --- manage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manage.c') diff --git a/manage.c b/manage.c index 8a96a06..6c4881d 100644 --- a/manage.c +++ b/manage.c @@ -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]); -- cgit v1.2.3