I really can't understand this.
I'm modifying Frank Hale's AEWM++ to learn how to make a Window Manager and then write a tutorial on it.
XRaiseWindow(display, window) should put the window on top of all others, but in AEWM++ it doesn't work! Frank uses this function in his code but apparently it doesn't work. It works in my small test app that just creates two test child windows, but not in AEWM++. I've tried setting the "override_redirect" Window attribute to both false and true but it still doesn't function.
Any hints?
http://tronche.com/gui/x/xlib/window...-redirect.html
http://tronche.com/gui/x/xlib/window/XRaiseWindow.html
[edit]
It turned out to be a bug in the Xnest server *pulls his hair*
Frank sent me a beta server that works fine (atleast so far).