Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!nysernic!itsgw!batcomputer!davidra From: davidra@batcomputer.tn.cornell.edu (Penguin ) Newsgroups: comp.windows.x Subject: Xlib query Message-ID: <2548@batcomputer.tn.cornell.edu> Date: Sat, 3-Oct-87 20:12:56 EDT Article-I.D.: batcompu.2548 Posted: Sat Oct 3 20:12:56 1987 Date-Received: Wed, 7-Oct-87 02:06:41 EDT Distribution: comp Organization: Theory Center, Cornell U., Ithaca NY Lines: 13 Keywords: Xlib key-event I would like to write a very simple window manager that will let the user switch, hide, expose, iconify, and move windows without ever having to touch a mouse; in the simplest case, I would have the window manager look for some unused keyboard event (say -1) and cycle windows from the list returned by XQueryTree each time the key is pressed; the trick is how to get the key (XPeekEvent?) without usurping any of the other clients' requests. I could probably figure this out, but if other people have experience or ideas, they could save me a great deal of time. David Rabson Laboratory of Atomic and Solid-State Physics davidra@{helios,tcgould}.tn.cornell.edu