On Wed, Jul 18, 2012 at 11:46 AM, Pablo Olmos de Aguilera Corradini <pablo.olmosdeaguilera@gmail.com> wrote:
Since some time (sadly I'm not sure when), I've started to see a
little space (like 5 to 10 pixels) between the vim window and the
terminal window[1].

This is your terminal not using its full allocation, probably because it violates ICCCM and considers its space request to be obligatory on the window manager.

http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-LayoutHints.html *might* help, but you may need to consider using a non-broken terminal program.  Too many lazy X11 programmers don't understand that the window manager has the final word on window sizes and it's up to their program to deal.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms