[xmonad] Move EWMH support initialization to a startupHook

Justin Bogner mail at justinbogner.com
Sun Oct 11 01:44:51 EDT 2009

This patch will break existing configs.

EwhmDesktops.setSupported sets some X atoms to constants. This should
rightfully be done once, in a startup hook, rather than repeatedly in
the log hook. This complicates the user configs a bit (though they can
just use Config.Desktop) but fixes problems like setWMName having to be
called in the log hook if ewmh is being used.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-EWMH-support-initialization-to-a-startupHook.dpatch
Type: text/x-diff
Size: 73043 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20091011/f2184f89/0001-Move-EWMH-support-initialization-to-a-startupHook-0001.bin

More information about the xmonad mailing list