diff --git a/src/main/windows/mainWindow.ts b/src/main/windows/mainWindow.ts index 18dd004b..9a792f68 100644 --- a/src/main/windows/mainWindow.ts +++ b/src/main/windows/mainWindow.ts @@ -408,13 +408,8 @@ export class MainWindow extends EventEmitter { } private emitBoundsForMaximize = () => { - // Workaround for Linux since the window bounds aren't updated immediately when the window is maximized for some reason - if (process.platform !== 'linux') { - return; - } - setTimeout(() => { - this.emit(MAIN_WINDOW_RESIZED, this.getBounds()); - }, 10); + // Workaround since the window bounds aren't updated immediately when the window is maximized for some reason + setTimeout(() => this.emit(MAIN_WINDOW_RESIZED, this.getBounds()), 10); } private onMaximize = () => {