Skip to content

Commit 2176ea2

Browse files
committed
Revert "Display (Linux): prefer detecting physical size from EDID"
Try fixing #1444 This reverts commit 5f3ce50.
1 parent ac2266c commit 2176ea2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/detection/displayserver/linux/xcb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ static bool xcbRandrHandleCrtc(XcbRandrData* data, xcb_randr_crtc_t crtc, FFstrb
188188
{
189189
item->hdrStatus = ffEdidGetHdrCompatible(edidData, (uint32_t) edidLength) ? FF_DISPLAY_HDR_STATUS_SUPPORTED : FF_DISPLAY_HDR_STATUS_UNSUPPORTED;
190190
ffEdidGetSerialAndManufactureDate(edidData, &item->serial, &item->manufactureYear, &item->manufactureWeek);
191-
ffEdidGetPhysicalSize(edidData, &item->physicalWidth, &item->physicalHeight);
192191
}
193192

194193
return !!item;

src/detection/displayserver/linux/xlib.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ static bool xrandrHandleCrtc(XrandrData* data, XRROutputInfo* output, FFstrbuf*
151151
{
152152
item->hdrStatus = ffEdidGetHdrCompatible(edidData, edidLength) ? FF_DISPLAY_HDR_STATUS_SUPPORTED : FF_DISPLAY_HDR_STATUS_UNSUPPORTED;
153153
ffEdidGetSerialAndManufactureDate(edidData, &item->serial, &item->manufactureYear, &item->manufactureWeek);
154-
ffEdidGetPhysicalSize(edidData, &item->physicalWidth, &item->physicalHeight);
155154
}
156155

157156
data->ffXRRFreeCrtcInfo(crtcInfo);

0 commit comments

Comments
 (0)