[xmonad] avoidStruts doesnt work

Spencer Janssen sjanssen at cse.unl.edu
Fri Jan 4 17:18:52 EST 2008


On Fri, Jan 04, 2008 at 10:38:43PM +0100, Dominik Bruhn wrote:
> On Fri, Jan 04, 2008 at 01:59:43PM -0600, Spencer Janssen wrote:
> > Try running xprop on the xmobar window.  Do you see _NET_WM_STRUT in the
> > output?  If not, you'll need to upgrade xmobar -- I can't remember which
> > version added strut support.
> As I use xmobar from darcs the output is:
> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
> _NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0

That last line is the problem.  xmobar sets a strut value of zero pixels on
each edge of the screen.  Can you show us your xmobar config?

> So, this is not the solution. As I mentioned above the manageDock-Hook
> also avoids managing the xmobar-window so it recognizes it.

manageDocks doesn't apply to xmobar because it is an 'override-redirect'
window.


Cheers,
Spencer Janssen


More information about the xmonad mailing list