Do not focus screen share controller window on load
This commit is contained in:
parent
ba1ba46f4d
commit
15678efb4d
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -750,7 +750,7 @@ function setupAsStandalone() {
|
|||
let screenShareWindow;
|
||||
function showScreenShareWindow(sourceName) {
|
||||
if (screenShareWindow) {
|
||||
screenShareWindow.show();
|
||||
screenShareWindow.showInactive();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -794,7 +794,7 @@ function showScreenShareWindow(sourceName) {
|
|||
});
|
||||
|
||||
screenShareWindow.once('ready-to-show', () => {
|
||||
screenShareWindow.show();
|
||||
screenShareWindow.showInactive();
|
||||
screenShareWindow.webContents.send(
|
||||
'render-screen-sharing-controller',
|
||||
sourceName
|
||||
|
|
Loading…
Reference in a new issue