File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 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()
231231 DisplayConfigTopologyId topologyId ;
232232 var pathWraps = GetPathWraps ( QueryDisplayFlags . OnlyActivePaths , out topologyId ) ;
233233
234- List < DisplayInformation > _interopDisplays = new List < DisplayInformation > ( ) ;
235234 DISPLAY_DEVICE d = new DISPLAY_DEVICE ( ) ;
236235 DEVMODE dm = new DEVMODE ( ) ;
237236 d . cb = Marshal . SizeOf ( d ) ;
@@ -246,7 +245,7 @@ public static List<Display> GetActiveMonitors()
246245 displayInfo = new DisplayInformation ( deviceID , d ) ;
247246 Display display = new Display ( displayInfo , GetUID ( displayInfo . Id ) ) ;
248247 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 ) ) )
250249 displays . Add ( display ) ;
251250 deviceID ++ ;
252251 }
Original file line number Diff line number Diff line change 5252// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
5353// indem Sie "*" wie unten gezeigt eingeben:
5454// [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