[comp.windows.x] Xlib query

davidra@batcomputer.tn.cornell.edu (Penguin ) (10/04/87)

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 <ctrl>-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