<ul dir="auto">
<li>Electron version: 0.36.8</li>
<li>Operating system: Windows 10 64bit</li>
</ul>
<p dir="auto">Also, when the browserwindow is in the top left corner (or maximized), I get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="browserWindow.getBounds();
&gt; {x: -8, y: -8, width: 2576, height: 1416}

screen.getPrimaryDisplay();
&gt; {
    bounds: { height: 1440, width: 2560, x: 0, y: 0 },
    rotation: 0,
    scaleFactor: 1,
    size: { height: 1440, width: 2560 },
    touchSupport: &quot;unknown&quot;
    workArea: { height: 1440, width: 2560, x: 0, y: 0 }
    workAreaSize: { height: 1440, width: 2560 }
}"><pre class="notranslate"><code class="notranslate">browserWindow.getBounds();
&gt; {x: -8, y: -8, width: 2576, height: 1416}

screen.getPrimaryDisplay();
&gt; {
    bounds: { height: 1440, width: 2560, x: 0, y: 0 },
    rotation: 0,
    scaleFactor: 1,
    size: { height: 1440, width: 2560 },
    touchSupport: "unknown"
    workArea: { height: 1440, width: 2560, x: 0, y: 0 }
    workAreaSize: { height: 1440, width: 2560 }
}
</code></pre></div>
<p dir="auto">The Browser Window <code class="notranslate">width</code> and <code class="notranslate">x</code> coordinates are being calculated incorrectly in Windows 10 (Windows 8.1 did not have this problem). Here you can see that the <code class="notranslate">getBounds()</code> function is showing that my <code class="notranslate">x</code> value is 0 but the desktop background is showing through. I'm guessing this may have something to do with a subtle shadow that each window in Windows 10 is now casting.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/62191/12224314/36dccefa-b7a2-11e5-9ae0-a7181a41f1c7.png"><img src="https://cloud.githubusercontent.com/assets/62191/12224314/36dccefa-b7a2-11e5-9ae0-a7181a41f1c7.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Not sure how to fix this, but would be nice to resolve as I have some window state management code written to pin windows in the correct location, and now they are not properly being positioned.</p>