UI Tweaks

This commit is contained in:
seerge
2023-03-12 13:27:44 +01:00
parent 5334d1e4ed
commit ea2e8a7c24
7 changed files with 71 additions and 15 deletions

View File

@@ -491,17 +491,23 @@ public class NativeMethods
foreach (var device in devices)
{
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);
}
count = 0;
foreach (var screen in Screen.AllScreens)
{
if (count == displayNum)
{
laptopScreen = screen.DeviceName;
}
//Debug.WriteLine(screen.DeviceName);
count++;
}