Yes, removing the avoidStruts makes xmonad to use the whole screen space. And yes, it seems that trayer was the one causing trouble. I was launching trayer with:
 trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 15 --height 12 --transparent true --tint 0x000000

If you remove the SetPartialStrut it seems working now. This line is something I copied from somewhere else and I'm not really sure about the meaning of putting that parameter.

Thanks a lot.

El 29/11/11 09:39, wagnerdm@seas.upenn.edu escribió:
Quoting Toni Cebrián <ancechu@gmail.com>:

When I do the xprop in that strip, I get:
<snip>
Perhaps de nautilus --no-desktop is not working as expected?

Well, the output you posted didn't set any struts at all. While I can't be 100% sure, it seems whatever window you happened to click on was not the culprit causing the blank space along the right-hand side. Try clicking a few other windows; you're looking for a property labeled "_NET_WM_STRUT_PARTIAL(CARDINAL)".

To double-check that it is indeed a rogue strut, you can take "avoidStruts" out of your xmonad.hs temporarily; if the space goes away after a reload (and possibly a layout ping, by default bound to mod+shift+space), then some window is setting a bad strut. This would make me 100% sure that the nautilus window you clicked is not the culprit.

~d

_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad