File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,6 @@ public static List<Display> GetActiveMonitors()
231
231
DisplayConfigTopologyId topologyId ;
232
232
var pathWraps = GetPathWraps ( QueryDisplayFlags . OnlyActivePaths , out topologyId ) ;
233
233
234
- List < DisplayInformation > _interopDisplays = new List < DisplayInformation > ( ) ;
235
234
DISPLAY_DEVICE d = new DISPLAY_DEVICE ( ) ;
236
235
DEVMODE dm = new DEVMODE ( ) ;
237
236
d . cb = Marshal . SizeOf ( d ) ;
@@ -246,7 +245,7 @@ public static List<Display> GetActiveMonitors()
246
245
displayInfo = new DisplayInformation ( deviceID , d ) ;
247
246
Display display = new Display ( displayInfo , GetUID ( displayInfo . Id ) ) ;
248
247
display . ColorDepth = Convert . ToInt32 ( HDRController . GetColorDepth ( display . UID ) ) ;
249
- if ( ! displays . Any ( m => m . ID . Equals ( display . ID ) ) )
248
+ if ( ! displays . Any ( m => m . ID . Equals ( display . ID ) ) && pathWraps . Any ( p => p . Path . sourceInfo . id . Equals ( display . ID ) ) )
250
249
displays . Add ( display ) ;
251
250
deviceID ++ ;
252
251
}
Original file line number Diff line number Diff line change 52
52
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
53
53
// indem Sie "*" wie unten gezeigt eingeben:
54
54
// [assembly: AssemblyVersion("1.0.*")]
55
- [ assembly: AssemblyVersion ( "1.7.18 .0" ) ]
56
- [ assembly: AssemblyFileVersion ( "1.7.18 .0" ) ]
55
+ [ assembly: AssemblyVersion ( "1.7.19 .0" ) ]
56
+ [ assembly: AssemblyFileVersion ( "1.7.19 .0" ) ]
You can’t perform that action at this time.
0 commit comments