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;
|
let screenShareWindow;
|
||||||
function showScreenShareWindow(sourceName) {
|
function showScreenShareWindow(sourceName) {
|
||||||
if (screenShareWindow) {
|
if (screenShareWindow) {
|
||||||
screenShareWindow.show();
|
screenShareWindow.showInactive();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -794,7 +794,7 @@ function showScreenShareWindow(sourceName) {
|
||||||
});
|
});
|
||||||
|
|
||||||
screenShareWindow.once('ready-to-show', () => {
|
screenShareWindow.once('ready-to-show', () => {
|
||||||
screenShareWindow.show();
|
screenShareWindow.showInactive();
|
||||||
screenShareWindow.webContents.send(
|
screenShareWindow.webContents.send(
|
||||||
'render-screen-sharing-controller',
|
'render-screen-sharing-controller',
|
||||||
sourceName
|
sourceName
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue