Skip to content

Commit

Permalink
Update showWindow function
Browse files Browse the repository at this point in the history
  • Loading branch information
dbilgili committed Mar 31, 2021
1 parent afe6a94 commit c00ee5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/TrayGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ class TrayGenerator {
showWindow = () => {
const position = this.getWindowPosition();
this.mainWindow.setPosition(position.x, position.y, false);
this.mainWindow.show();
this.mainWindow.setVisibleOnAllWorkspaces(true);
this.mainWindow.focus();
this.mainWindow.show();
this.mainWindow.setVisibleOnAllWorkspaces(false);
};

Expand Down

0 comments on commit c00ee5b

Please sign in to comment.