mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Default screen fix
This commit is contained in:
@@ -160,9 +160,11 @@ namespace GHelper.Display
|
|||||||
device.monitorFriendlyDeviceName == internalName)
|
device.monitorFriendlyDeviceName == internalName)
|
||||||
{
|
{
|
||||||
if (log) Logger.WriteLine(device.monitorDevicePath + " " + device.outputTechnology);
|
if (log) Logger.WriteLine(device.monitorDevicePath + " " + device.outputTechnology);
|
||||||
|
|
||||||
AppConfig.Set("internal_display", device.monitorFriendlyDeviceName);
|
AppConfig.Set("internal_display", device.monitorFriendlyDeviceName);
|
||||||
var names = device.monitorDevicePath.Split("#");
|
var names = device.monitorDevicePath.Split("#");
|
||||||
if (names.Length > 0) return names[1];
|
|
||||||
|
if (names.Length > 1) return names[1];
|
||||||
else return "";
|
else return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user