UrgencyHooks made available as Window -> X () functions
UrgencyHooks made available as Window -> X () functions

Adds an UrgencyHook instance for the type Window -> X (), allowing any such
functions to be used directly as UrgencyHooks. The Show and Read constraints
were removed from the UrgencyHook class in order to permit this; these
constraints were required only in a historical implementation of the module,
which used a layout modifier.

All existing configurations using UrgencyHooks should remain fully functional.
New configs may make use of this modification by declaring their UrgencyHook as
a simple Window -> X () function.


xmonad/xmonad-contrib,mathstuf/xmonad-contrib,ohlus/xmonad-contrib,pjones/xmonad-test,0/xmonad-contrib,f1u77y/xmonad-contrib,ohlus/xmonad-contrib,xmonad/xmonad-contrib,mathstuf/xmonad-contrib,CaptainPatate/xmonad-contrib,0/xmonad-contrib,ohlus/xmonad-contrib,f1u77y/xmonad-contrib,CaptainPatate/xmonad-contrib,mathstuf/xmonad-contrib,CaptainPatate/xmonad-contrib,0/xmonad-contrib