restore some window events

This commit is contained in:
jliddev
2022-05-27 14:02:29 -05:00
parent 04998b9b04
commit def17cd36e

View File

@@ -290,11 +290,11 @@ function createWindow(): BrowserWindow {
});
win.on("blur", () => {
// win.webContents.send("blur");
win.webContents.send("blur");
});
win.on("focus", () => {
// win.webContents.send("focus");
win.webContents.send("focus");
});
win.webContents.userAgent = USER_AGENT;