diff --git a/SafeExamBrowser.UserInterface.Desktop/Windows/LockScreen.xaml.cs b/SafeExamBrowser.UserInterface.Desktop/Windows/LockScreen.xaml.cs index c2ec5496..bbae4983 100644 --- a/SafeExamBrowser.UserInterface.Desktop/Windows/LockScreen.xaml.cs +++ b/SafeExamBrowser.UserInterface.Desktop/Windows/LockScreen.xaml.cs @@ -74,14 +74,18 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows { foreach (var window in windows) { + window.Topmost = false; + window.WindowState = WindowState.Normal; + window.Activate(); window.Topmost = true; window.WindowState = WindowState.Maximized; - window.Activate(); } + Topmost = false; + WindowState = WindowState.Normal; + Activate(); Topmost = true; WindowState = WindowState.Maximized; - Activate(); }); }