@@ -97,7 +97,9 @@ Showable {
97 if (shouldUseScreenshots) {
97 if (shouldUseScreenshots) {
98 stage.__focusApplicationUsingScreenshots(stage.focusedApplication);
98 stage.__focusApplicationUsingScreenshots(stage.focusedApplication);
100+ if (stage.focusedApplicationWhenUsingScreenshots) {
100− stage.__focusActualApplication(stage.focusedApplicationWhenUsingScreenshots);
101+ stage.__focusActualApplication(stage.focusedApplicationWhenUsingScreenshots);
@@ -244,6 +246,7 @@ Showable {
245 delayedHideScreenshots.start();
247 delayedHideScreenshots.start();
249+ stage.focusedApplicationWhenUsingScreenshots = null;
247 stage.__hideScreenshots();
250 stage.__hideScreenshots();