title: Make a non-frameless Electron window have a transparent background
body: <p>I'm looking to make an Electron window have a transparent background, but keep its window chrome.</p>
  
  <p>I used the following:</p>
  
  <pre><code>  const previewWindow = new BrowserWindow({
      width: 800,
      height: 600,
      x: 1000,
      y: 100,
      transparent: true,
      webPreferences: {
        nodeIntegration: true
      }
    });
  </code></pre>
  
  <p>I also set the following CSS on the body of the page being displayed in the window:</p>
  
  <pre><code>background: transparent;
  </code></pre>
  
  <p>I also tried <code>background: none</code>.</p>
  
  <p>The window still have the default white background.</p>
  
  <p>Is it possible to have a transparent window in Electron without it being frameless?</p>