[Xcb] XCB_CREATE_NOTIFY events

Peter Harris git at peter.is-a-geek.org
Fri May 1 06:12:24 PDT 2009


On Fri, May 1, 2009 at 8:06 AM, Brad Bobak wrote:
>  Hello. My xcb app doesn't seem to be getting any XCB_CREATE_NOTIFY events
> upon window creation. Any ideas as to why this may be?

Probably you didn't select SubstructureNotify on the parent.
(CreateNotify is about notifying windows about new child windows, not
about informing a window of its own creation, which would be very odd
(yeah, I know Win32 does this. Win32 is very odd)).

See http://cgit.freedesktop.org/xorg/doc/xorg-docs/plain/hardcopy/XProtocol/proto.PS.gz
for details.

Peter Harris


More information about the Xcb mailing list