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.
--