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:
parent
9385c835b8
commit
9ebe3419c3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user