
New patches:

[Circle layout
Peter De Wachter <pdewacht@gmail.com>**20070606064153
 Windows are arranged in a circle around the master window. Rather nice to use
 with a mouse, if you got many windows open.
 
 Screenshot: http://caladan.rave.org/circle.png
] {
addfile ./Circle.hs
hunk ./Circle.hs 1
+module XMonadContrib.Circle (circle) where -- actually it's an ellipse
+
+import Graphics.X11.Xlib
+import XMonad
+
+circle :: Layout
+circle = Layout { doLayout = circleLayout,
+                  modifyLayout = const Nothing }
+
+circleLayout :: Rectangle -> [Window] -> X [(Window, Rectangle)]
+circleLayout _ []     = return []
+circleLayout r (w:ws) = return $ (w, center r) : (zip ws sats)
+    where sats = map (satellite r) $ take (length ws) [0, pi * 2 / fromIntegral (length ws) ..]
+
+center :: Rectangle -> Rectangle
+center (Rectangle sx sy sw sh) = Rectangle x y w h
+    where w = round ((fromIntegral sw / sqrt 2) :: Double)
+          h = round ((fromIntegral sh / sqrt 2) :: Double)
+          x = sx + fromIntegral (sw - w) `div` 2
+          y = sy + fromIntegral (sh - h) `div` 2
+
+satellite :: Rectangle -> Double -> Rectangle
+satellite (Rectangle sx sy sw sh) a = Rectangle (sx + round (rx + rx * cos a))
+                                                (sy + round (ry + ry * sin a))
+                                                w h
+    where rx = fromIntegral (sw - w) / 2
+          ry = fromIntegral (sh - h) / 2
+          w = sw * 10 `div` 25
+          h = sh * 10 `div` 25
+
}

Context:

[gapless tiled layout obeying size hints
Peter De Wachter <pdewacht@gmail.com>**20070605071716] 
[Contrib package for 6.4 users
daniel@wagner-home.com**20070604225534] 
[XMonadContrib.ReadMap: a Read instance of Map for GHC 6.4 users
daniel@wagner-home.com**20070602064318] 
[keybindings to warp pointer to window center
daniel@wagner-home.com**20070602062328] 
[XMonadContrib.Commands: for workspace and screen commands, leave out W/S tag
glasser@mit.edu**20070601161351] 
[New contrib module: run internal xmonad commands via dmenu
glasser@mit.edu**20070601043849] 
[Note that my xinerama patch is now in dzen.
glasser@mit.edu**20070601041112] 
[Rescreen is in main xmonad now
Spencer Janssen <sjanssen@cse.unl.edu>**20070528050656] 
[replace "name" in NamedWindow with a Show instance.
David Roundy <droundy@darcs.net>**20070526185114] 
[[Spiral] blend in the scale factor so it doesn't have any effect on the smallest windows
joe.thornber@gmail.com**20070525032732] 
[[Spiral] last rect takes all available space
joe.thornber@gmail.com**20070524120239] 
[[Spiral] Introduce a simpler Rect data type to remove a lot of the fromIntegrals
joe.thornber@gmail.com**20070524100423] 
[[Spiral] divideRects now takes a list of directions to split in
joe.thornber@gmail.com**20070524090211] 
[[Spiral] misc tidying
joe.thornber@gmail.com**20070524085537] 
[[Spiral] remove old spiral code
joe.thornber@gmail.com**20070524084805] 
[[Spiral] add fibonacci spiral
joe.thornber@gmail.com**20070524084423] 
[Allow clients of NamedWindows to get at the name.
glasser@mit.edu**20070523184251] 
[dzen module (with xinerama support, which requires glasser's Xinerama patch to dzen)
glasser@mit.edu**20070523184315] 
[Extract NamedWindow support from Mosaic into its own module
glasser@mit.edu**20070523155855] 
[remove SwapFocus (which is no longer possible)
David Roundy <droundy@darcs.net>**20070523153841
 This module depended on the focus stack.
] 
[Fix Spiral's module name
Spencer Janssen <sjanssen@cse.unl.edu>**20070522170909] 
[[SPIRAL] add spiral tiling layout
joe.thornber@gmail.com**20070522062537] 
[Make RotView compile.
Miikka Koskinen <arcatan@kapsi.fi>**20070522075338
 
 As I'm not a Xinerama user, I'm not sure if rotView should consider only
 hidden workspaces or also visible but not focused workspaces. I thought hidden
 workspaces only would be more logical.
] 
[bug fix in DwmPromote. whoops.
Miikka Koskinen <arcatan@kapsi.fi>**20070522062118] 
[make FindEmptyWorkspace compile
Miikka Koskinen <arcatan@kapsi.fi>**20070521123239] 
[make DwmPromote compile
Miikka Koskinen <arcatan@kapsi.fi>**20070521123140] 
[updated Dmenu.hs to work with zipper StackSet
Jason Creighton <jcreigh@gmail.com>**20070521233947] 
[Add GreedyView
Spencer Janssen <sjanssen@cse.unl.edu>**20070521220048] 
[Rescreen: collects new screen information
Spencer Janssen <sjanssen@cse.unl.edu>**20070521164808] 
[Fixes for windowset -> workspace rename
Spencer Janssen <sjanssen@cse.unl.edu>**20070521042118] 
[TwoPane: hide windows that aren't in view
Spencer Janssen <sjanssen@cse.unl.edu>**20070518224240] 
[make Mosaic even less picky by default.
David Roundy <droundy@darcs.net>**20070516175554] 
[add clear window message in Mosaic.
David Roundy <droundy@darcs.net>**20070516175518] 
[Comment only
Spencer Janssen <sjanssen@cse.unl.edu>**20070517211003] 
[Add instructions for TwoPane
Spencer Janssen <sjanssen@cse.unl.edu>**20070517210206] 
[Add TwoPane
Spencer Janssen <sjanssen@cse.unl.edu>**20070517195618] 
[throttle the exponential expense when many windows are present.
David Roundy <droundy@darcs.net>**20070516022123] 
[make mosaic configure windows by name rather than by Window.
David Roundy <droundy@darcs.net>**20070512215644
 Note that this is still pretty flawed.  Often window names change, and the
 layout then stagnates a bit.  Gimp, for example, opens most its windows
 with the same name before renaming them, so you have to hit mod-return or
 something to force a doLayout.  Also, gimp still overrides xmonad regarding
 the size of its main window.  :(
] 
[XMonadContrib.FindEmptyWorkspace
Miikka Koskinen <arcatan@kapsi.fi>**20070513184338
 
 With this module you can find empty workspaces, view them and tag windows to
 them.
] 
[make DwmPromote compile
Miikka Koskinen <arcatan@kapsi.fi>**20070513184254] 
[make DwmPromote compile again
Miikka Koskinen <arcatan@kapsi.fi>**20070510154158] 
[make DwmPromote compile
Miikka Koskinen <arcatan@kapsi.fi>**20070503105236] 
[add SwapFocus.
David Roundy <droundy@darcs.net>**20070512191315] 
[make rotView only consider non-visible workspaces (Xinerama)
Jason Creighton <jcreigh@gmail.com>**20070510012059] 
[fix commend in RotView.
David Roundy <droundy@darcs.net>**20070505185654] 
[switch to Message type for layout messages
Don Stewart <dons@cse.unsw.edu.au>**20070505014332] 
[Fix instructions in Mosaic.
Chris Mears <chris@cmears.id.au>**20070503222345] 
[add Mosaic layout.
David Roundy <droundy@darcs.net>**20070503151024] 
[-Wall police
Spencer Janssen <sjanssen@cse.unl.edu>**20070503211700] 
[Make RotView build, and add a brief description.
Chris Mears <chris@cmears.id.au>**20070503104234] 
[comment: Gave URL to xinerama-enabled dmenu patch
Jason Creighton <jcreigh@gmail.com>**20070503053133] 
[Put dmenu in X too
Spencer Janssen <sjanssen@cse.unl.edu>**20070503053727] 
[Add dmenu (thanks jcreigh)
Spencer Janssen <sjanssen@cse.unl.edu>**20070503052225] 
[add RotView module.
David Roundy <droundy@darcs.net>**20070421233838] 
[XMonadContrib.DwmPromote: dwm-like promote
Miikka Koskinen <arcatan@kapsi.fi>**20070501082031
 I like the way dwm's equivalent to xmonad's promote works, so I
 implemented dwmpromote.
] 
[add simple date example
Don Stewart <dons@cse.unsw.edu.au>**20070429064013] 
[more details
Don Stewart <dons@cse.unsw.edu.au>**20070429061426] 
[add readme
Don Stewart <dons@cse.unsw.edu.au>**20070429061329] 
[Initial import of xmonad contributions
Don Stewart <dons@cse.unsw.edu.au>**20070429061150] 
Patch bundle hash:
8ebf9e3d6197e42441465cb1e7eba61c3b21e29d
