projects
/
vuplus_xbmc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lang] update of skin.confluence language files
[vuplus_xbmc]
/
xbmc-xrandr.c
diff --git
a/xbmc-xrandr.c
b/xbmc-xrandr.c
index
35b5d1a
..
3c686e2
100644
(file)
--- a/
xbmc-xrandr.c
+++ b/
xbmc-xrandr.c
@@
-39,6
+39,14
@@
#include <stdint.h>
#include <math.h>
#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;
static char *program_name;
static Display *dpy;
static Window root;
@@
-901,7
+909,6
@@
crtc_can_use_transform (crtc_t *crtc, XTransform *transform)
return True;
return False;
}
return True;
return False;
}
-#endif
/*
* Report only rotations that are supported by all crtcs
/*
* Report only rotations that are supported by all crtcs
@@
-928,6
+935,7
@@
output_rotations (output_t *output)
}
return rotation;
}
}
return rotation;
}
+#endif
static Bool
output_can_use_rotation (output_t *output, Rotation rotation)
static Bool
output_can_use_rotation (output_t *output, Rotation rotation)
@@
-2991,7
+2999,7
@@
main (int argc, char **argv)
Atom *props;
int j, k, nprop;
Bool *mode_shown;
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)
printf (" <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
if (mode)