mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-15 03:55:45 -07:00
refactoring, style, comments on new layout code
This commit is contained in:
@@ -94,7 +94,9 @@ isRoot w = liftM (w==) (asks theRoot)
|
||||
-- Layout handling
|
||||
|
||||
-- | The different layout modes
|
||||
data Layout = Layout { doLayout :: Rectangle -> [Window] -> [(Window, Rectangle)]
|
||||
-- 'doLayout', a pure function to layout a Window set
|
||||
-- 'modifyLayout',
|
||||
data Layout = Layout { doLayout :: Rectangle -> [Window] -> [(Window, Rectangle)]
|
||||
, modifyLayout :: Dynamic -> Maybe Layout }
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user