Comment #109 on issue 177 by qri... at gmail.com: xmonad does not follow ICCCM and ignores WM_TAKE_FOCUS protocol http://code.google.com/p/xmonad/issues/detail?id=177 Using "loghook = dbusLog client >> takeTopFocus" does the trick for JDK6 but no success with JDK7