Skip to content

Commit

Permalink
Revert bring to front fix (#2179)
Browse files Browse the repository at this point in the history
* Revert "SDA-4604 Limiting window activation change to macOS for bring-to-front feature only (#2176) (#2177)"

This reverts commit e543476.

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

This reverts commit 6d68185.

* Upgrade electron@31.2.1
  • Loading branch information
sbenmoussati authored Jul 19, 2024
1 parent e543476 commit a90399f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/window-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a90399f

Please sign in to comment.