[xmonad] switching windows' Z-order?

Wirt Wolff wirtwolff at gmail.com
Sun Jul 5 00:07:31 EDT 2009


Excerpts from Chengqi(Lars) Song's message of Sat Jul 04 22:11:10 -0600 2009:
> 
> I have problem when using gimp. all Gimp's windows are set to be float. But
> when I open two pictures, the 1st one's window is covered by the 2nd one. And
> there is no way to switch their Z-order so that the 1st one can be brought to
> front. Is there any way to always bring the focused window front?

As far as I know there's nothing already written to, for example, modify
a layout to do that.

However, with the following you might not feel the need for it any more:

Use the swapUp/Down instead of focusUp/Down actions. In mouse bindings
setting mod-button4 and mod-button5 to  \_ -> windows W.swapUp and
\_ -> windows W.swapDown could be useful too. (W is XMonad.StackSet) 

-- 
wmw


More information about the xmonad mailing list