<ul dir="auto">
<li>Electron version: 1.6.2</li>
<li>Operating system: Windows 10</li>
</ul>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">When I'm maximizing the frameless window, the borders of window are out of screen.<br>
For example: If I have my custom titlebar with 100px height and if I'll maximize the window, the titlebar will be 96px height.</p>
<p dir="auto">On screenshot, the borders aren't out of screen.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Please clone my repository by using these commands:</p>
<p dir="auto">$ git clone <a href="https://github.com/nersent/wexond">https://github.com/nersent/wexond</a> -b refactor<br>
$ npm install<br>
$ npm run browser<br>
$ npm start</p>
<p dir="auto">Or create your own frameless window, then maximize it and see what happens.</p>
<ul dir="auto">
<li>Electron version: 1.4.15</li>
<li>Operating system: Windows 10</li>
</ul>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Height is oversized by exactly 8px consistently (taskbar is set to small icons).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/adi518/electron-frameless-maximize-test/master/issue.jpg"><img src="https://raw.githubusercontent.com/adi518/electron-frameless-maximize-test/master/issue.jpg" alt="Alt" style="max-width: 100%;"></a></p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><a href="https://github.com/adi518/electron-frameless-maximize-test">https://github.com/adi518/electron-frameless-maximize-test</a></p>