set_force_using_draggable_region(true);
}
+ bool movable;
+ if (options.Get(options::kMovable, &movable)) {
+ [window_ setMovable:movable];
+ }
+
// On OS X the initial window size doesn't include window frame.
bool use_content_size = false;
options.Get(options::kUseContentSize, &use_content_size);
const char kMaxWidth[] = "maxWidth";
const char kMaxHeight[] = "maxHeight";
const char kResizable[] = "resizable";
+const char kMovable[] = "movable";
const char kFullscreen[] = "fullscreen";
// Whether the window should show in taskbar.
extern const char kMaxWidth[];
extern const char kMaxHeight[];
extern const char kResizable[];
+extern const char kMovable[];
extern const char kFullscreen[];
extern const char kSkipTaskbar[];
extern const char kKiosk[];
* `maxWidth` Integer - Window's maximum width. Default is no limit.
* `maxHeight` Integer - Window's maximum height. Default is no limit.
* `resizable` Boolean - Whether window is resizable. Default is `true`.
+ * `movable` Boolean - Whether window is movable. Default is `true`.
* `alwaysOnTop` Boolean - Whether the window should always stay on top of
other windows. Default is `false`.
* `fullscreen` Boolean - Whether the window should show in fullscreen. When