You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix naming of wakeNotification()
- Fix for failing to update Advanced Settings checkbox on Preferences Reset.
- Better handling of known dummy displays.
NSWorkspace.shared.notificationCenter.addObserver(self, selector: #selector(self.sleepNotification), name:NSWorkspace.screensDidSleepNotification, object:nil) // sleep and wake listeners
varcontrolMethod=NSLocalizedString("No Control", comment:"Shown in the Display Preferences")+" ⚠️"
90
94
varcontrolStatus=NSLocalizedString("This display has an unspecified control status.", comment:"Shown in the Display Preferences")
91
-
if display.isVirtual {
95
+
if display.isVirtual, !display.isDummy{
92
96
displayType =NSLocalizedString("Virtual Display", comment:"Shown in the Display Preferences")
93
97
displayImage ="tv.and.mediabox"
94
98
controlMethod =NSLocalizedString("Software (shade)", comment:"Shown in the Display Preferences")+" ⚠️"
95
99
controlStatus =NSLocalizedString("This is a virtual display (examples: AirPlay, Sidecar, display connected via a DisplayLink Dock or similar) which does not allow hardware or software gammatable control. Shading is used as a substitute but only in non-mirror scenarios. Mouse cursor will be unaffected and artifacts may appear when entering/leaving full screen mode.", comment:"Shown in the Display Preferences")
96
-
}elseif display is OtherDisplay{
100
+
}elseif display is OtherDisplay, !display.isDummy{
97
101
displayType =NSLocalizedString("External Display", comment:"Shown in the Display Preferences")
0 commit comments