mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-05 06:31:54 -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.
|
-- switching back , the focused window is uppermost.
|
||||||
--
|
--
|
||||||
switchLayout :: X ()
|
switchLayout :: X ()
|
||||||
switchLayout = layout rotateList where rotateList [] = []
|
switchLayout = layout (\(x:xs) -> xs ++ [x])
|
||||||
rotateList xs = last xs : init xs
|
|
||||||
|
|
||||||
data ShrinkOrExpand = Shrink | Expand deriving ( Typeable, Eq )
|
data ShrinkOrExpand = Shrink | Expand deriving ( Typeable, Eq )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user