diff --git a/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs b/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs index decd5b15..6cb6da37 100644 --- a/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs +++ b/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs @@ -75,8 +75,11 @@ namespace SafeExamBrowser.Monitoring.Display { var identifier = GetIdentifierForPrimaryDisplay(); - originalWorkingArea = nativeMethods.GetWorkingArea(); - LogWorkingArea($"Saved original working area for {identifier}", originalWorkingArea); + if (originalWorkingArea == null) + { + originalWorkingArea = nativeMethods.GetWorkingArea(); + LogWorkingArea($"Saved original working area for {identifier}", originalWorkingArea); + } var area = new Bounds {