[xmonad] Focus issue with xmonad and xmobar

Bas van Dijk v.dijk.bas at gmail.com
Thu Mar 13 07:27:56 EDT 2008


Hello,

I'm using Andrea Rossatos xmobar which is great. So in my
~/.xmonad/xmonad.hs I have:

myDynLog h = DL.dynamicLogWithPP DL.xmobarPP {DL.ppOutput  = SIO.hPutStrLn h}

main = do xmobar <- R.spawnPipe "xmobar"
          xmonad $ defaults { logHook = myDynLog xmobar }

However when I start xmonad and type a keybinding say
mod-shift-return, nothing happens. When I type it again my terminal is
started as expected.

When I disable xmobar by:

main = xmonad default

Then typing a keybinding as immediate effect. It looks like a focus issue.

I'm unsure where the problem is: xmonad or xmobar so I'm waiting to
report a bug.

regards,

Bas


More information about the xmonad mailing list