summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libkms++/connector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms++/connector.cpp b/libkms++/connector.cpp
index b64cdf7..0f471e1 100644
--- a/libkms++/connector.cpp
+++ b/libkms++/connector.cpp
@@ -64,6 +64,10 @@ Connector::Connector(Card &card, uint32_t id, uint32_t idx)
m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id());
assert(m_priv->drm_connector);
+ // XXX drmModeGetConnector() does forced probe, which seems to change (at least) EDID blob id.
+ // XXX So refresh the props again here.
+ refresh_props();
+
const auto& name = connector_names.at(m_priv->drm_connector->connector_type);
m_fullname = name + "-" + to_string(m_priv->drm_connector->connector_type_id);
}