mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 12:11:53 -07:00
Fix layout switching order
This commit is contained in:
@@ -97,8 +97,7 @@ flipRect (Rectangle rx ry rw rh) = (Rectangle ry rx rh rw)
|
||||
-- switching back , the focused window is uppermost.
|
||||
--
|
||||
switchLayout :: X ()
|
||||
switchLayout = layout rotateList where rotateList [] = []
|
||||
rotateList xs = last xs : init xs
|
||||
switchLayout = layout (\(x:xs) -> xs ++ [x])
|
||||
|
||||
data ShrinkOrExpand = Shrink | Expand deriving ( Typeable, Eq )
|
||||
|
||||
|
Reference in New Issue
Block a user