diff --git a/src/renderer/notification-handler.ts b/src/renderer/notification-handler.ts index 962b8f29c..f3ce19a3b 100644 --- a/src/renderer/notification-handler.ts +++ b/src/renderer/notification-handler.ts @@ -70,7 +70,6 @@ export default class NotificationHandler { if (window && !window.isDestroyed()) { try { window.setPosition(parseInt(String(x), 10), parseInt(String(y), 10)); - window.moveTop(); } catch (err) { console.warn( `Failed to set window position. x: ${x} y: ${y}. Contact the developers for more details`, diff --git a/src/renderer/notification.ts b/src/renderer/notification.ts index 8b5b2f00f..845ba445a 100644 --- a/src/renderer/notification.ts +++ b/src/renderer/notification.ts @@ -255,8 +255,6 @@ class Notification extends NotificationHandler { notificationSettings.height, true, ); - // Move notification to top - notificationWindow.moveTop(); if (!data.sticky) { timeoutId = setTimeout(async () => { @@ -590,7 +588,6 @@ class Notification extends NotificationHandler { windowId: notificationWindow.id, }); this.activeNotifications.push(notificationWindow); - notificationWindow.moveTop(); } /**