byorgey:
> On Sun, Feb 24, 2008 at 2:17 PM, Don Stewart <[1]dons@galois.com> wrote:Ah yes, good point. This is in now. Did you have contrib patches to
>
> This looks good. How does the startuphook differ from running code in
> main? It's easier for extensions to register hooks?
>
> Well, the main reason is that this way, the startupHook can be run in the
> X monad, AFTER xmonad has initialized all its state and so forth. Running
> code in main would only be able to run in IO.
follow?