From af18fd29cf99e32a1a1a0ede4239f2c41a1f3811 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 6 Nov 2017 08:24:21 +0000 Subject: Fix the detection of duplicate EDIDs by comparing the hash value, not the ID Fixes: https://github.com/hughsie/colord/issues/60 --- src/cd-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cd-main.c b/src/cd-main.c index 359316b..a226b4a 100644 --- a/src/cd-main.c +++ b/src/cd-main.c @@ -2246,7 +2246,7 @@ cd_main_check_duplicate_edids (void) use_xrandr_mode = TRUE; } g_hash_table_insert (hash, - g_strdup (cd_main_get_display_id (edid)), + g_strdup (cd_edid_get_checksum (edid)), GINT_TO_POINTER (1)); } return use_xrandr_mode; -- cgit v1.2.1