diff options
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/index.ts | 4 | ||||
| -rw-r--r-- | gui/src/main/window-controller.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 8fa09576c7..fc9170bf24 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1032,7 +1032,7 @@ class ApplicationMain { private registerWindowListener(windowController: WindowController) { windowController.window?.on('focus', () => { - IpcMainEventChannel.windowFocus.notify(windowController.webContents, true); + IpcMainEventChannel.window.notifyFocus(windowController.webContents, true); this.blurNavigationResetScheduler.cancel(); @@ -1049,7 +1049,7 @@ class ApplicationMain { }); windowController.window?.on('blur', () => { - IpcMainEventChannel.windowFocus.notify(windowController.webContents, false); + IpcMainEventChannel.window.notifyFocus(windowController.webContents, false); // ensure notification guard is reset this.notificationController.resetTunnelStateAnnouncements(); diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index 50ceab01e4..298f767fb5 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -230,7 +230,7 @@ export default class WindowController { if (this.window) { const shapeParameters = this.windowPositioning.getWindowShapeParameters(this.window); - IpcMainEventChannel.windowShape.notify(this.webContentsValue, shapeParameters); + IpcMainEventChannel.window.notifyShape(this.webContentsValue, shapeParameters); } } |
