title: Electron Resizing a Frameless Window
body: <p>I'm working on an app that has a frameless window, and has a html5 video element that displays the webcam filling the document.body at 100%.</p>
  
  <p>I have my <code>mainWindow</code> set to resizable <code>mainWindow.isResizable(true)</code> but I can't resize the window.</p>
  
  <p>When I debug with chrome dev tools I can only resize the window the side chrome dev tools is on. (not sure if it helps, but I'm developing this on an Ubuntu 14.04 based Linux distro called Elementary OS Freya)</p>
  
  <p>Can someone explain why I can't resize my resizable window even though I have my mainWindow set to resizable?</p>
  
  <p>In addition what can I do to solve this problem?</p>
  
  <pre><code>var app = require("app");
  var BrowserWindow = require("browser-window");
  
  var mainWindow = null;
  
  // Quit when all windows are closed.
  app.on("window-all-closed", function() {
    app.quit();
  });
  
  app.on("ready", function() {
    mainWindow = new BrowserWindow({
      width: 640,
      height: 480,
      frame: false
    });
    mainWindow.loadUrl("file://" + __dirname + "/index.html");
  
    // Set Window Resizable
    mainWindow.isResizable(true);
  
    mainWindow.focus();
  });
  </code></pre>