Hi folks. I've written a simple application in Xlib, it decorates popup windows. There are two kinds of decoration, a simple border and a set of windows with buttons, pixmaps and so on. The structure: -application main window as childwindow from root window -simple decoration window as child from main window - popup as child from simple decoration window and : -a window as child from main -decoration window (with various windows as child) as child from window -popup as child from decoration window SubstructureRedirectMask is set for root window, if a popup occures i get a MapRequest. I do the following in both decoration cases: XGrabServer XCreateWindow /* decoration window */ XAddToSaveSet /* the popup */ XReparentWindow /* popup, decoration window */ XUngrabServer XMapWindow /* decoration window */ XMapWindow /* popup */ XFlush In case of the simple decoration the popup is visible, in the other case (reparent to the child of child of child) the popup is not visible unless i set the SubstructureRedirectMask for popup parent. What is the difference and why do i need the SubstructureRedirectMask to get a window mapped? I get only one MapRequest (the initial if the popup comes up) in both cases, there's no difference. I don't understand that. Thorsten _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86