From 9c7244f029eacb35ea71a2ea2c0ac3b0360ca155 Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Wed, 27 May 2020 11:39:50 +0530 Subject: [PATCH] SDA-2092 - prevent notifications from opening in fullscreen state in MacOS (#1005) --- src/renderer/notification.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/notification.ts b/src/renderer/notification.ts index 21d716a7..b84db437 100644 --- a/src/renderer/notification.ts +++ b/src/renderer/notification.ts @@ -4,7 +4,7 @@ import { config } from '../app/config-handler'; import { createComponentWindow, windowExists } from '../app/window-utils'; import { AnimationQueue } from '../common/animation-queue'; import { apiName, INotificationData, NotificationActions } from '../common/api-interface'; -import { isNodeEnv } from '../common/env'; +import { isNodeEnv, isWindowsOS } from '../common/env'; import { logger } from '../common/logger'; import NotificationHandler from './notification-handler'; @@ -464,10 +464,11 @@ class Notification extends NotificationHandler { height: 64, alwaysOnTop: true, skipTaskbar: true, - resizable: true, + resizable: isWindowsOS, show: false, frame: false, transparent: true, + fullscreenable: false, acceptFirstMouse: true, title: 'Notification - Symphony', webPreferences: {