the window manager has shortcuts for both raising and lowering a window. But they are different shortcuts. One important feature is missing: A shortcut for
if this window is the topmost, then put it back to the lowest level, otherwise raise it to the top. This way you can walk through all your windows with the same key. Would be nice to have, other window managers do have.
There is a flaw however, the keyboard shortcut apply to the focused window, but when lowering a window, the focus is set to the window on top of stack. Therefore, you cannot have a shortcut that raise/lower as focus gets changed by the raise or lower...
1. It works with other window managers.
2. It is intended that a windows loses focus when sent back.
The intended shortcut has two functions and always applies to a window that has the focus:
- If the window is not on top (partly covered by any other), raise it to the
top. A partly covered window can still have the focus.
- If the window is already on top (not covered by any other), send it to the
very back. Maybe it keeps focus (e.g. if still partly visible and under the
mouse), but probably any other window will now get the focus.
1) Not all window manager share the same focus management logic. This is definitely not an argument, I'm sorry.
2) The shortcut applies to the focused window, lowering a window in xfwm4 pass focus to another window thus making the shortcut apply to another window. A raise/lower shortcut would ne useless in that case...
3) That would work only with focus follow mouse mode and only if the pointer does't fall within another window while the focused one gets lowered. That a lot of "if"...
Is this intended to be added? I really miss this feature, but like xfce4 for everything else.
As for the focus question, how about this:
If it is click-to-focus, it is still in focus, just at the bottom of the stack.
If it is follow-mouse, if it still has the mouse, it still has focus, otherwise it changes.
Basically, it can be implemented as "raise until you can't raise anymore, then lower" All of the same focus questions exist with the lower shortcut.
Closing old bugs.