title: Why does Emacs leave a gap when trying to maximize the frame?
body: <p>Ive installed Emacs via <a href="http://emacsformacosx.com/" rel="nofollow noreferrer">http://emacsformacosx.com/</a></p>
  
  <p>In <code>~/.emacs.d/init.el</code></p>
  
  <pre><code>(tool-bar-mode -1)
  (toggle-frame-maximized)
  </code></pre>
  
  <p>Which is supposed to maximize Emacs when it starts up. It does some kind of maximization, but leave a gap at the top (between the menubar, below the Apple logo). As you can see on the screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/xueAb.png" alt="enter image description here"></p>
  
  <p>How do I ensure that Emacs fills up the screen.</p>
  
  <p>PS, I am not looking from full-screen mode.</p>