mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-22 15:00:38 -04:00
restore some window events
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user