[xmonad] avoidStruts doesnt work

Spencer Janssen sjanssen at cse.unl.edu
Fri Jan 4 14:59:43 EST 2008

On Fri, Jan 04, 2008 at 08:03:29PM +0100, Dominik Bruhn wrote:
> Hy,
> I wanted to replace defaultGap with ManageDocks as everybody seems to
> recommend this and I wanted to play arround a little bit.
> But I ran into problems:
> I use xmobar as my StatusBar and the attached config. As you can see I
> commented defaultGaps out and used avoidStruts in my LayoutHook. In my
> Configfile there are two LaytouHooks, the upper one (commented out) is
> the one I use but in order to see if its a problem regarding
> "onWorkspace" I created the second Hook which is far more simple.
> Using this config nothing happens if I start up xmonad concerning my
> xmobar. It gets hidden by every window I create. ManageDock seems to
> recognize XMobar as I am not able to switch to it using Mod+Tab (which
> is fine!). Am I thinking wrong about the avoidStruts Method or using it
> wrong?
> Who can give me a hint?
> Thanks
> -- 
> Dominik Bruhn
> mailto: dominik at dbruhn.de

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.

Spencer Janssen

More information about the xmonad mailing list