diff options
author | Brent Yorgey <byorgey@gmail.com> | 2007-10-16 16:09:59 +0200 |
---|---|---|
committer | Brent Yorgey <byorgey@gmail.com> | 2007-10-16 16:09:59 +0200 |
commit | 579209ead201cb5ad7d9ea775bc22f0858685618 (patch) | |
tree | 914fdac12f2cc377df9e02652b9d6ccdf5b02139 /Spiral.hs | |
parent | 27c2f00b6bd9296024dc7f07e45778709ab30e7a (diff) | |
download | XMonadContrib-579209ead201cb5ad7d9ea775bc22f0858685618.tar.gz XMonadContrib-579209ead201cb5ad7d9ea775bc22f0858685618.tar.xz XMonadContrib-579209ead201cb5ad7d9ea775bc22f0858685618.zip |
Spiral.hs: add 'description' function to LayoutClass instance for SpiralWithDir.
darcs-hash:20071016140959-bd4d7-4375de268b8544a30b9fd153fe8cdb0da5cf2b68.gz
Diffstat (limited to 'Spiral.hs')
-rw-r--r-- | Spiral.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -76,6 +76,7 @@ instance LayoutClass SpiralWithDir a where handleMessage (SpiralWithDir dir rot scale) = return . fmap resize . fromMessage where resize Expand = spiralWithDir dir rot $ (21 % 20) * scale resize Shrink = spiralWithDir dir rot $ (20 % 21) * scale + description _ = "Spiral" -- This will produce one more rectangle than there are splits details divideRects :: [(Rational, Direction)] -> Rectangle -> [Rectangle] |