[gnome-desktop] gnome-rr: Fall back to XFree86_DDC_EDID1_RAWDATA if the other EDID keys are not set
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] gnome-rr: Fall back to XFree86_DDC_EDID1_RAWDATA if the other EDID keys are not set
- Date: Fri, 9 Nov 2012 17:35:52 +0000 (UTC)
commit e61ef6c8c1faf03c8f71b164b74bb4c8d5757ca9
Author: Richard Hughes <richard hughsie com>
Date: Fri Nov 9 17:38:26 2012 +0000
gnome-rr: Fall back to XFree86_DDC_EDID1_RAWDATA if the other EDID keys are not set
This is what the KDE module does too...
libgnome-desktop/gnome-rr.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index 8ac08ee..73490d0 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -1463,6 +1463,13 @@ read_edid_data (GnomeRROutput *output, gsize *len)
output->id, edid_atom, len);
}
+ if (!result)
+ {
+ edid_atom = XInternAtom (DISPLAY (output), "XFree86_DDC_EDID1_RAWDATA", FALSE);
+ result = get_property (DISPLAY (output),
+ output->id, edid_atom, len);
+ }
+
if (result)
{
if (*len % 128 == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]