summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drmconnector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/drmconnector.cpp b/drmconnector.cpp
index 247f56b..145518f 100644
--- a/drmconnector.cpp
+++ b/drmconnector.cpp
@@ -73,7 +73,9 @@ bool DrmConnector::internal() const {
}
bool DrmConnector::external() const {
- return type_ == DRM_MODE_CONNECTOR_HDMIA;
+ return type_ == DRM_MODE_CONNECTOR_HDMIA || type_ == DRM_MODE_CONNECTOR_DisplayPort ||
+ type_ == DRM_MODE_CONNECTOR_DVID || type_ == DRM_MODE_CONNECTOR_DVII ||
+ type_ == DRM_MODE_CONNECTOR_VGA;
}
bool DrmConnector::valid_type() const {