We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760b587 commit aa97009Copy full SHA for aa97009
v3/pkg/w32/screen.go
@@ -39,6 +39,7 @@ func getMonitorName(deviceName string) (string, error) {
39
if device.StateFlags&0x1 != 0 {
40
return syscall.UTF16ToString(device.DeviceString[:]), nil
41
}
42
+ i++
43
44
45
return "", fmt.Errorf("monitor name not found for device: %s", deviceName)
0 commit comments