Skip to content

Commit

Permalink
Tweak window setup
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinista committed Feb 1, 2019
1 parent 08283ec commit 9146cf0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,8 @@ var setFullScreen = function(w) {
else {
w.setSimpleFullScreen(true);
}

if ( ! w.isVisible() ) {
w.show();
w.moveTop();
}
w.show();
w.moveTop();
};

exports.screenSaverIsRunning = screenSaverIsRunning;
Expand Down

0 comments on commit 9146cf0

Please sign in to comment.