Gunnar Evermann <Gunnar.Evermann(a)nats.informatik.uni-hamburg.de> writes:
1) call XQueryPointer to find out over which Window (if any) the
pointer currently is. ('child_window')
This call gives the root window as the destination window doesn't it?
Maybe you should loop over all active frames and call XQueryPointer
with the frames main window as the argument to XQueryPointer. Of
course this calls XQueryPointer for each frame, I have no idea how
expensive this is. At least you always get a child window in a live
frame then.
Jan