Skip to content

Commit

Permalink
Merge pull request #95 from imagej/window-focus
Browse files Browse the repository at this point in the history
  • Loading branch information
hinerm authored Jul 15, 2024
2 parents e38fdec + b22c93e commit 571fa62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/imagej/launcher/SplashScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void run() {
final Window[] windows = Window.getWindows();
for (final Window win : windows) {
if (win.isVisible() && win != splashWindow) {
win.requestFocusInWindow();
hide();
return;
}
Expand Down

0 comments on commit 571fa62

Please sign in to comment.