I develop own window manager. And I want to have one window as "windows editor" - therefore when I switch into editing mode this window must be TopMost. Now when I use XCirculateSubwindows, or when I use execlp and fork, or... I must to call XRaiseWindow for "windows editor" window, because windows stack is changed. Is there any better way? For example second root window? (I need only toggle between normal mode and editing mode and in editing mode "windows editor" window must be TopMost.) Thank you!