Add BrowserWindow.prototype.setIgnoreFocus

This commit is contained in:
Milan Burda 2016-06-12 20:20:25 +02:00
parent c68ca16148
commit 7a1d1ee0ea
8 changed files with 32 additions and 0 deletions

View file

@ -942,4 +942,12 @@ All mouse events happened in this window will be passed to the window below
this window, but if this window has focus, it will still receive keyboard
events.
### `win.setIgnoreFocus(ignore)` _OS X_ _Windows_
* `ignore` Boolean
Makes the window ignore focus.
On OS X this prevents the window from becoming key and main window.
[blink-feature-string]: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in