Display workaround

This commit is contained in:
Serge
2023-05-12 14:06:15 +02:00
parent 35f1a3a25b
commit f5cf768017

View File

@@ -647,6 +647,8 @@ public class NativeMethods
//Logger.WriteLine(screen.DeviceName); //Logger.WriteLine(screen.DeviceName);
count++; count++;
} }
if (displayNum > 0 && count == 0) laptopScreen = defaultDevice;
} }
catch (Exception ex) catch (Exception ex)
{ {