summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}