Skip to content

Commit

Permalink
Merge pull request #4075 from leadpogrommer/fix_focus_stealing
Browse files Browse the repository at this point in the history
Prevent stealing window focus from auth dialog
  • Loading branch information
dfunckt authored Jul 13, 2023
2 parents 2d7a622 + f716c74 commit 589ce9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gui/etcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async function createMainWindow() {
mainWindow.setFullScreen(true);

// Prevent flash of white when starting the application
mainWindow.on('ready-to-show', () => {
mainWindow.once('ready-to-show', () => {
console.timeEnd('ready-to-show');
// Electron sometimes caches the zoomFactor
// making it obnoxious to switch back-and-forth
Expand Down

0 comments on commit 589ce9c

Please sign in to comment.