
New patches:

[zombie_children
David Benbennick <dbenbenn@gmail.com>**20071024011348
 
 My .xinitrc file looks like this:
 
 xterm &
 firefox &
 exec xmonad
 
 The result is that when xmonad starts, it has two child processes that it didn't create.  When I quit either process, the process remains forever as a zombie, because xmonad never waits on children.
 
 My previous window manager (Window Maker) didn't suffer from this issue.
 
 Here's a pretty simple change that makes xmonad wait on children in its main loop.  We can also change spawn to only create one process instead of two, and keep spawned processes as children.
 
] {
hunk ./Main.hs 25
+import System.Posix.Process (getAnyProcessStatus)
hunk ./Main.hs 105
-            forever_ $ handle =<< io (nextEvent dpy e >> getEvent e)
+            forever_ $ handle =<< io (getAnyProcessStatus False False >> nextEvent dpy e >> getEvent e)
hunk ./XMonad.hs 33
-import System.Posix.Process (executeFile, forkProcess, getProcessStatus, createSession)
-import System.Exit
+import System.Posix.Process (executeFile, forkProcess, createSession)
hunk ./XMonad.hs 243
-    pid <- forkProcess $ do
-        forkProcess (createSession >> executeFile "/bin/sh" False ["-c", x] Nothing)
-        exitWith ExitSuccess
-    getProcessStatus True False pid
+    forkProcess $ createSession >> executeFile "/bin/sh" False ["-c", x] Nothing
}

Context:

[start on style guide
Don Stewart <dons@galois.com>**20071023221422] 
[Operations.hs: flip maybe id  is  fromMaybe
Eric Mertens <emertens@galois.com>**20071018231418] 
[Deobfuscate Tall layout
Eric Mertens <emertens@galois.com>**20071018231329] 
[setInitialProperties after placing windows
Spencer Janssen <sjanssen@cse.unl.edu>*-20071019201310] 
[setInitialProperties after placing windows
Spencer Janssen <sjanssen@cse.unl.edu>**20071019201310] 
[Ignore borders in the stored RationalRects of floating windows.
Spencer Janssen <sjanssen@cse.unl.edu>*-20071019063922
 Also, add 'floatWindow' which computes the actual Rectangle for that window,
 including border.
] 
[Only assign workspace keys up to xK_9.  Related to bug #63
Spencer Janssen <sjanssen@cse.unl.edu>**20071019083746] 
[Ignore borders in the stored RationalRects of floating windows.
Spencer Janssen <sjanssen@cse.unl.edu>**20071019063922
 Also, add 'floatWindow' which computes the actual Rectangle for that window,
 including border.
] 
[I prefer fmap over liftM
Spencer Janssen <sjanssen@cse.unl.edu>**20071019063104] 
[change 0/1/3 to named states, per X11-extras darcs head
Devin Mullins <me@twifkak.com>**20071018021651] 
[remove StackOrNot type synonymn.
David Roundy <droundy@darcs.net>**20071017201406] 
[Operations.hs: make use of notElem and notMember
Eric Mertens <emertens@galois.com>**20071017174357] 
[TAG 0.4
Spencer Janssen <sjanssen@cse.unl.edu>**20071016215343] 
Patch bundle hash:
6081f2caa6281b935f0ae57656bdc4be745ff0d9
