[comp.windows.x] window state notification events

dmh@goanna.oz.au (Darren Hosking) (01/02/90)

I have a client that wishes to be informed about window state notification
events (eg CreateNotify, ConfigureNotify etc), however, I want to be able to
distinguish between events generated by this clients windows and those
generated by other clients (for example, ignore those events related to this
client and "do something" for the rest).

A linear search of this clients window ids against the window id that the
event occurred on is not possible because the window manager reparents windows
and the clients window ids will not match the window ids returned by the
event.

Is there some way of achieving the desired result?

BTW, I am selecting SubstructureNotifyMask relative to the root window.

	Thanks in advance, dmh

Darren Hosking				ACSnet: dmh@goanna.oz	 
Department Of Computer Science		ARPA:   dmh%goanna.oz.au@uunet.uu.net
RMIT					CSNET:  dmh%goanna.oz.au@australia
GPO Box 2476V				UUCP:   ...!uunet!goanna.oz.au!dmh
Melbourne Vic., Australia 3001