[xmonad] Issue 177 in xmonad: xmonad does not follow ICCCM and ignores WM_TAKE_FOCUS protocol

Brandon Allbery allbery.b at gmail.com
Mon Nov 5 18:19:58 CET 2012


On Mon, Nov 5, 2012 at 12:06 PM, Eyal Erez <oneself at gmail.com> wrote:

>
> xmonad.hs:391:25:
>     Couldn't match expected type `a -> a1' against inferred type `X ()'
>     In the first argument of `(>>)', namely `takeTopFocus'
>     In the first argument of `($)', namely
>         `takeTopFocus >> dynamicLogWithPP'
>     In the `logHook' field of a record
>
>
Hrm.  I would have expected the definitions to handle that...

<+> works there, if >> doesn't.

Prelude XMonad XMonad.Hooks.DynamicLog XMonad.Hooks.ICCCMFocus> :t
defaultConfig { logHook = takeTopFocus <+> dynamicLog }
defaultConfig { logHook = takeTopFocus <+> dynamicLog }
  :: XConfig (Choose Tall (Choose (Mirror Tall) Full))

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20121105/f3b9d7c2/attachment-0001.htm>


More information about the xmonad mailing list