[xmonad] switching windows' Z-order?

Chengqi(Lars) Song songcq at gmail.com
Sun Jul 5 02:24:59 EDT 2009

swapUp/swapDown works nicely.
i wonder how to bind M-S-j as "windows W.swapUp" && "windows W.focusUp"?


On Sat, 04 Jul 2009, Wirt Wolff wrote:

> 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
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad

More information about the xmonad mailing list