> I'm a little unclear about the f.switchpriority/auto-switching cases.
FWIW, the priority switching stuff was basically introduced because
there are windows that are "special" and I either want them to stay out
of the way (in the background) or to always stay visible, depending on
whether I'm actively using them. And this switch can be automatic
(e.g. when the window is hidden in the background and wants to raise
itself to grab my attention, I then really want it to come to the
foreground).
I could make those windows just "always on top" and iconify them when
I want to hide them, but for some of them, I prefer to keep them
displayed in the background, hence this "switching" behavior.
Stefan