[comp.windows.x] InputOnly windows

PAYNE@latlog.UUCP (03/12/88)

I have built a `confine' widget for the Xtoolkit which is an InputOnly
window which grabs the pointer when it is mapped and ungrabs the pointer
when it is unmapped. This all works fine except for the interaction with
the window manager. When the InputOnly window gets a MapNotify event
and tries to grab the pointer it gets a GrabNotViewable error because the
map on the parent window has been redirected to the window manager who has
not yet mapped the window (I think this is what is happening). My question
is:

	Is there any way to get an event for an InputOnly window when it
	is actually viewable (at least as far as GrabPointer is concerned)?

Thanks, Julian Payne, European Silicon Structures (ES2).
(payne@latlog.uucp)