mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Minor tweaks
This commit is contained in:
@@ -493,14 +493,18 @@ public class NativeMethods
|
||||
if (device.outputTechnology == DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY.DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL)
|
||||
{
|
||||
displayNum = count;
|
||||
laptopScreen = device.monitorDevicePath;
|
||||
}
|
||||
count++;
|
||||
//Debug.WriteLine(device.outputTechnology);
|
||||
//Debug.WriteLine(device.monitorFriendlyDeviceName);
|
||||
}
|
||||
|
||||
|
||||
if (Screen.AllScreens.Length != count)
|
||||
{
|
||||
Debug.WriteLine("Mismatch between enumerated and available screens");
|
||||
return null;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
foreach (var screen in Screen.AllScreens)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user