[xmonad] * Converted UrgencyHooks to simple Window -> X () functions [patch]

David McLean gopsychonauts at gmail.com
Fri May 4 03:35:00 CEST 2012


On 4 May 2012 11:14, Gwern Branwen <gwern0 at gmail.com> wrote:
> On Thu, May 3, 2012 at 8:47 PM, David McLean <gopsychonauts at gmail.com> wrote:
>>  Regrettably, this does break compatibility with any previously-defined custom
>>  urgency hooks, since the UrgencyHook typeclass no longer exists.
>
> How many configs in the Config Archive does this patch break?

Since the urgency hooks are now values, and not types, the old hook
names (FocusHook, NoUrgencyHook, etc.) no longer exist. Thus, all the
configurations specifying any such hook name now fail.

Of the darcs XMonad configurations, six of ten will be broken. Which
I'll admit is not great. However, none of these configurations have
defined any custom UrgencyHook instances, so the changes required are
fairly minor, in some cases just changing the capitalisation to
reference value rather than type.



More information about the xmonad mailing list