summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libkms++/connector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libkms++/connector.cpp b/libkms++/connector.cpp
index 6ab590e..e507c9e 100644
--- a/libkms++/connector.cpp
+++ b/libkms++/connector.cpp
@@ -116,7 +116,8 @@ Videomode Connector::get_mode(const string& mode) const
bool Connector::connected() const
{
- return m_priv->drm_connector->connection == DRM_MODE_CONNECTED;
+ return m_priv->drm_connector->connection == DRM_MODE_CONNECTED ||
+ m_priv->drm_connector->connection == DRM_MODE_UNKNOWNCONNECTION;
}
vector<Crtc*> Connector::get_possible_crtcs() const