> In theory, the order in which windows are mapped can be better: from
> front to back. That way, a window is never first shown then completely
> or partially obscured by another one. However I have not checked if that
> information is easily available at the right place or if the order is
> easily changeable.
Indeed, it seems the order used currently is not optimal.
The current code does not have the stacking-order information available
AFAIK, but my own code does (part of my old OnTopPriority patch).
Stefan