Skip to content

Commit 571fa62

Browse files
authored
Merge pull request #95 from imagej/window-focus
Closes apposed/jaunch#45
2 parents e38fdec + b22c93e commit 571fa62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/net/imagej/launcher/SplashScreen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void run() {
109109
final Window[] windows = Window.getWindows();
110110
for (final Window win : windows) {
111111
if (win.isVisible() && win != splashWindow) {
112+
win.requestFocusInWindow();
112113
hide();
113114
return;
114115
}

0 commit comments

Comments
 (0)