summaryrefslogtreecommitdiffstats
path: root/src/blueshift_crtc_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-24 06:40:21 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-24 06:40:21 +0100
commitf9761827e796fe060ef99e6303ebf342ffd8f796 (patch)
tree26634379828b39de9110f0b77a042295dbba032f /src/blueshift_crtc_c.c
parentderp (diff)
downloadblueshift-f9761827e796fe060ef99e6303ebf342ffd8f796.tar.gz
blueshift-f9761827e796fe060ef99e6303ebf342ffd8f796.tar.bz2
blueshift-f9761827e796fe060ef99e6303ebf342ffd8f796.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_crtc_c.c')
-rw-r--r--src/blueshift_crtc_c.c5
1 files changed, 3 insertions, 2 deletions
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 <stdio.h>
#include <string.h>
#include <inttypes.h>
+#include <alloca.h>
#include <xcb/xcb.h>
#include <xcb/randr.h>
@@ -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);
}