Revert bring to front fix (#2179)

* Revert "SDA-4604 Limiting window activation change to macOS for bring-to-front feature only (#2176) (#2177)"

This reverts commit e543476c38.

* Revert "SDA-4604 Bring to the front feature fix by calling show method (#2174)"

This reverts commit 6d6818548a.

* Upgrade electron@31.2.1
This commit is contained in:
Salah Benmoussati 2024-07-19 12:15:53 +02:00 committed by GitHub
parent e543476c38
commit a90399f024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,7 +187,9 @@ export const activate = (
// Bring the window to the top without focusing
// Flash task bar icon in Windows for windows
if (!shouldFocus) {
return isMac || isLinux ? window.show() : window.flashFrame(true);
return isMac || isLinux
? window.showInactive()
: window.flashFrame(true);
}
// Note: On window just focusing will preserve window snapped state