#include <stdint.h>
#include <math.h>
+#ifndef _X_NORETURN
+#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)
+#define _X_NORETURN __attribute((noreturn))
+#else
+#define _X_NORETURN
+#endif
+#endif
+
static char *program_name;
static Display *dpy;
static Window root;
return True;
return False;
}
-#endif
/*
* Report only rotations that are supported by all crtcs
}
return rotation;
}
+#endif
static Bool
output_can_use_rotation (output_t *output, Rotation rotation)
Atom *props;
int j, k, nprop;
Bool *mode_shown;
- Rotation rotations = output_rotations (output);
+// Rotation rotations = output_rotations (output);
printf (" <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
if (mode)