Certain cases seems to cause maximizing windows to behave incorrectly in the
sense that the window does not fill the entire screen. A small gap on top and to
the left of the window if left uncovered. See attached screenshot.
I can reliably reproduce with gnome-terminal.
Steps to reproduce:
1. Configure gnome terminal to hide toolbar/menubar.
2. Open 2 tabs in gnome terminal. (due to 1. only tab bar and text-area should
now be displayed.)
3. Maximize gnome terminal.
Created attachment 5843 [details]
Incorrectly maximized window
I'm seeing this also in emacs-snapshot (or emacs-cvs)
I've made positioning of maximized windows a little bit better in CVS but what's
in that screenshot is not a bug. gnome-terminal doesn't allow the window to be
maximized fully as its size is an increment of characters. e.g. resizing the
window to 80.5 characters would be bad.