monitor-manager-xrandr: Don't query legacy properties

This never could have worked -- the Atom name it was querying was a root
window property, not an output property.
This commit is contained in:
Jasper St. Pierre 2016-01-09 17:59:34 -08:00
parent 9385c835b8
commit 9ebe3419c3

View File

@ -419,12 +419,6 @@ read_output_edid (MetaMonitorManagerXrandr *manager_xrandr,
result = get_edid_property (manager_xrandr->xdisplay, winsys_id, edid_atom, &len); result = get_edid_property (manager_xrandr->xdisplay, winsys_id, edid_atom, &len);
} }
if (!result)
{
edid_atom = XInternAtom (manager_xrandr->xdisplay, "XFree86_DDC_EDID1_RAWDATA", FALSE);
result = get_edid_property (manager_xrandr->xdisplay, winsys_id, edid_atom, &len);
}
if (result) if (result)
{ {
if (len > 0 && len % 128 == 0) if (len > 0 && len % 128 == 0)