I need to have a security classification banner at the top of my X display. Antisocial or not, it is a requirement that this window not be obscurable by other windows. I have added code to receive VisibilityNotify events and XRaiseWindow calls to bring the window back to the top when obscured. The problem is that since this banner is at the top of the display (with no resize bars or other [motif] decorations) it covers over the title bar of the window that previously obscured it. That makes it hard to move
the offending window out from under the banner using the title bar. What I would prefer to do is to find out the ID of the window that is obscuring the banner and perform an XConfigureWindow to move the other window down automagically. Does anyone know of a relatively painless way to find out the ID of the window obscuring the banner?