From 0ca0defd246ef96684f84c266c3ef688129b7ead Mon Sep 17 00:00:00 2001 From: Hampus Date: Mon, 31 Aug 2026 19:51:42 +0200 Subject: [PATCH] fix(desktop): keep notification sounds during fullscreen apps (#2269) --- fluxer_desktop/src/main/NotificationState.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fluxer_desktop/src/main/NotificationState.ts b/fluxer_desktop/src/main/NotificationState.ts index efa5e5409..29fdd773a 100644 --- a/fluxer_desktop/src/main/NotificationState.ts +++ b/fluxer_desktop/src/main/NotificationState.ts @@ -16,13 +16,7 @@ const execFileAsync = promisify(execFile); const POLICY_CACHE_TTL_MS = 1_000; const COMMAND_TIMEOUT_MS = 1_000; const MACOS_FOCUS_DB_DIR = path.join(os.homedir(), 'Library', 'DoNotDisturb', 'DB'); -const WINDOWS_SUPPRESSING_STATES = new Set([ - 'not-present', - 'busy', - 'running-d3d-full-screen', - 'presentation-mode', - 'quiet-time', -]); +const WINDOWS_SUPPRESSING_STATES = new Set(['not-present', 'presentation-mode', 'quiet-time']); export interface NotificationSoundPolicy { shouldPlaySound: boolean;