diff --git a/src/main/config.test.ts b/src/main/config.test.ts index 347f9311c..b8ff4557e 100644 --- a/src/main/config.test.ts +++ b/src/main/config.test.ts @@ -37,4 +37,8 @@ describe('main/config.ts', () => { expect(WindowConfig.webPreferences?.nodeIntegration).toBe(false); expect(WindowConfig.webPreferences?.backgroundThrottling).toBe(false); }); + + it('floats the window on macOS so it can draw over a fullscreen Space', () => { + expect(WindowConfig.alwaysOnTop).toBe(process.platform === 'darwin' ? true : undefined); + }); }); diff --git a/src/main/config.ts b/src/main/config.ts index 38b4036f0..7a9ff8d20 100644 --- a/src/main/config.ts +++ b/src/main/config.ts @@ -55,6 +55,8 @@ export const WindowConfig: BrowserWindowConstructorOptions = { ? { vibrancy: 'popover' as const, visualEffectState: 'active' as const, + /** Float the popup so it can draw over a fullscreen Space */ + alwaysOnTop: true, } : {}), /** Hide the app from the Windows taskbar */