Remove winow focussing
This commit is contained in:
parent
243d86e7c2
commit
557fb1ada8
1 changed files with 0 additions and 3 deletions
|
@ -34,7 +34,6 @@ if (!gotTheLock) {
|
||||||
} else {
|
} else {
|
||||||
app.on('second-instance', () => {
|
app.on('second-instance', () => {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
mainWindow.focus();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.on('ready', async () => {
|
app.on('ready', async () => {
|
||||||
|
@ -69,7 +68,6 @@ if (!gotTheLock) {
|
||||||
//Listen to tray icon onclick event
|
//Listen to tray icon onclick event
|
||||||
trayIcon.on('click', () => {
|
trayIcon.on('click', () => {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
mainWindow.focus();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//Open devtools on startup
|
//Open devtools on startup
|
||||||
|
@ -87,7 +85,6 @@ function createTray() {
|
||||||
label: 'Show',
|
label: 'Show',
|
||||||
click: () => {
|
click: () => {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
mainWindow.focus();
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue