SEBWIN-117: Fixed minor issue overwriting the actual original working area on display changes.
This commit is contained in:
parent
f8cfbffcd4
commit
5bdf910e54
1 changed files with 5 additions and 2 deletions
|
@ -75,8 +75,11 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||||
{
|
{
|
||||||
var identifier = GetIdentifierForPrimaryDisplay();
|
var identifier = GetIdentifierForPrimaryDisplay();
|
||||||
|
|
||||||
originalWorkingArea = nativeMethods.GetWorkingArea();
|
if (originalWorkingArea == null)
|
||||||
LogWorkingArea($"Saved original working area for {identifier}", originalWorkingArea);
|
{
|
||||||
|
originalWorkingArea = nativeMethods.GetWorkingArea();
|
||||||
|
LogWorkingArea($"Saved original working area for {identifier}", originalWorkingArea);
|
||||||
|
}
|
||||||
|
|
||||||
var area = new Bounds
|
var area = new Bounds
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue