mixu / nwm

Tiling window manager for X11 written in Node.js
http://mixu.net/nwm/
MIT License
789 stars 72 forks source link

Launching gVim does not use full client area #25

Closed mgutz closed 12 years ago

mgutz commented 12 years ago

First, thanks for this awesome project! It's simple and makes me smile.

I notice that when I start gVim it does not use the full client area. gVim is short by 1 or 2 lines. The workaround is to hit Super+Tab then it will resize correctly.

mixu commented 12 years ago

Sorry for taking a while to get back to you on this. The issue here is the same as with xterm: xterm (and gVim) always try size themselves to display only whole lines.

nwm will resize the window correctly when it applies the layout, but gVim/xterm will then resize it again to match the number of lines it can display, which is why it ends up being short. The Arch wiki has some suggestions for a workaround, but basically this is a known issue that affects most tiling window managers and that can at best be made to look less ugly:

https://wiki.archlinux.org/index.php/Vim#Empty_space_at_the_bottom_of_gvim_windows