From f9761827e796fe060ef99e6303ebf342ffd8f796 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 24 Feb 2014 06:40:21 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_crtc_c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/blueshift_crtc_c.c') diff --git a/src/blueshift_crtc_c.c b/src/blueshift_crtc_c.c index 7ba2596..a20ed3b 100644 --- a/src/blueshift_crtc_c.c +++ b/src/blueshift_crtc_c.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -208,7 +209,7 @@ int main(int argc __attribute__((unused)), char** argv __attribute__((unused))) memcpy(atom_name, atom_name_, atom_name_len * sizeof(char)); *(atom_name + atom_name_len) = 0; - /*if (!strcmp(atom_name, "EDID"))*/ + if (!strcmp(atom_name, "EDID")) { xcb_randr_get_output_property_cookie_t atom_cookie; xcb_randr_get_output_property_reply_t* atom_reply; @@ -239,7 +240,7 @@ int main(int argc __attribute__((unused)), char** argv __attribute__((unused))) memcpy(atom_data, atom_data_, length * sizeof(char)); *(atom_data + length) = 0; - printf(" %s: %s\n", atom_name, atom_data); + /* printf(" %s: %s\n", atom_name, atom_data); FIXME */ free(atom_reply); } -- cgit v1.2.3-70-g09d2