Focus window on click if not focused
This commit is contained in:
parent
8702f637ad
commit
3f3ffd805a
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ function initTray(win: BrowserWindow) {
|
||||||
win.hide();
|
win.hide();
|
||||||
} else {
|
} else {
|
||||||
win.show();
|
win.show();
|
||||||
|
win.focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in a new issue