diff --git a/MonitorControl/Info.plist b/MonitorControl/Info.plist
index 8e93f4b..cf9febe 100644
--- a/MonitorControl/Info.plist
+++ b/MonitorControl/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 7029
+ 7030
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion
diff --git a/MonitorControl/Support/DisplayManager.swift b/MonitorControl/Support/DisplayManager.swift
index b9d51df..b56dccb 100644
--- a/MonitorControl/Support/DisplayManager.swift
+++ b/MonitorControl/Support/DisplayManager.swift
@@ -399,13 +399,13 @@ class DisplayManager {
}
static func isDummy(displayID: CGDirectDisplayID) -> Bool {
+ let vendorNumber = CGDisplayVendorNumber(displayID)
let rawName = DisplayManager.getDisplayRawNameByID(displayID: displayID)
- var isDummy: Bool = false
- if rawName.lowercased().contains("dummy") {
+ if rawName.lowercased().contains("dummy") || (self.isVirtual(displayID: displayID) && vendorNumber == UInt32(0xF0F0)) {
os_log("NOTE: Display is a dummy!", type: .info)
- isDummy = true
+ return true
}
- return isDummy
+ return false
}
static func isVirtual(displayID: CGDirectDisplayID) -> Bool {
diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist
index e825efa..f9fd355 100644
--- a/MonitorControlHelper/Info.plist
+++ b/MonitorControlHelper/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 7029
+ 7030
LSApplicationCategoryType
public.app-category.utilities
LSBackgroundOnly