SEBWIN-534, #261: Fixed bug where displays connected via eDP weren't recognized as internal displays.
This commit is contained in:
parent
e522a68ead
commit
4897d0ab6f
2 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,7 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||||
{
|
{
|
||||||
public string Identifier { get; set; }
|
public string Identifier { get; set; }
|
||||||
public bool IsActive { get; set; }
|
public bool IsActive { get; set; }
|
||||||
public bool IsInternal { get; set; }
|
public bool IsInternal => Technology == VideoOutputTechnology.DisplayPortEmbedded || Technology == VideoOutputTechnology.Internal;
|
||||||
public VideoOutputTechnology Technology { get; set; }
|
public VideoOutputTechnology Technology { get; set; } = VideoOutputTechnology.Uninitialized;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -197,7 +197,6 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||||
if (display != default(Display))
|
if (display != default(Display))
|
||||||
{
|
{
|
||||||
display.IsActive &= isActive;
|
display.IsActive &= isActive;
|
||||||
display.IsInternal = technology == VideoOutputTechnology.Internal;
|
|
||||||
display.Technology = technology;
|
display.Technology = technology;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue