mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Do not focus screen share controller window on load
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user