formatting fixes. the style is getting a bit dodgy in some places...

This commit is contained in:
Don Stewart
2007-04-01 00:28:03 +00:00
parent 3303b4a101
commit 93cf0950e8
2 changed files with 41 additions and 31 deletions

View File

@@ -17,7 +17,7 @@
module XMonad (
X, WorkSpace, XState(..), Layout(..), LayoutDesc(..),
runX, io, withDisplay, isRoot,
spawn, trace, whenJust
spawn, trace, whenJust, swap
) where
import StackSet (StackSet)
@@ -53,6 +53,11 @@ type WorkSpace = StackSet Window
-- | The different layout modes
data Layout = Full | Tile
-- | 'not' for Layout.
swap :: Layout -> Layout
swap Full = Tile
swap _ = Full
-- | A full description of a particular workspace's layout parameters.
data LayoutDesc = LayoutDesc { layoutType :: !Layout
, tileFraction :: !Rational