[xmonad] Emacs frame with STRUT+DOCK doesn't get keyboard focus

Brandon Allbery allbery.b at gmail.com
Tue Jun 7 19:07:21 CEST 2011

2011/6/7 Ted Zlatanov <tzz at lifelogs.com>:
> The above creates, for me, a new Emacs frame that behaves like a strut
> (panel, dock, I'm not sure of the exact terminology).  It's unmoveable
> and pinned to a window edge.  So far so good.  But XMonad doesn't give
> it the keyboard focus; I can only use the mouse in that frame.  That's a
> problem since Emacs is mostly keyboard-driven, so it's hard to do much
> in that frame.

Most of the dock management stuff does a doIgnore on windows, which
means they'll never receive keyboard focus.  You'll find more flexible
code in XMonad.Hooks.ManageHelpers for things like this; just leave
off the doIgnore part.

More information about the xmonad mailing list