Merge pull request #4057 from princejwesley/browser-window
Return null for no focused window when calling BrowserWindow.getFocusedWindow
This commit is contained in:
commit
9e82334b67
2 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,7 @@ Returns an array of all opened browser windows.
|
|||
|
||||
### `BrowserWindow.getFocusedWindow()`
|
||||
|
||||
Returns the window that is focused in this application.
|
||||
Returns the window that is focused in this application, otherwise returns `null`.
|
||||
|
||||
### `BrowserWindow.fromWebContents(webContents)`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue