diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-13 14:20:27 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-13 14:20:27 +0200 |
commit | 6642f7c22409f470d195ade8951295a4a6762373 (patch) | |
tree | c8ffefd2ba712d45fa222e3df77cc40f2d3ef7fe | |
parent | dc27a456ddfa9020097c2e5faf8ec47385f4f920 (diff) |
connector: consider UNKNOWNCONNECTION as connected
-rw-r--r-- | libkms++/connector.cpp | 3 |
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 |