diff options
Diffstat (limited to 'config.tests/x11/xrandr')
-rw-r--r-- | config.tests/x11/xrandr/xrandr.cpp | 13 | ||||
-rw-r--r-- | config.tests/x11/xrandr/xrandr.pro | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/config.tests/x11/xrandr/xrandr.cpp b/config.tests/x11/xrandr/xrandr.cpp new file mode 100644 index 0000000..cd61c2d --- /dev/null +++ b/config.tests/x11/xrandr/xrandr.cpp @@ -0,0 +1,13 @@ +#include <X11/Xlib.h> +#include <X11/extensions/Xrandr.h> + +#if RANDR_MAJOR != 1 || RANDR_MINOR < 1 +# error "Requried Xrandr version 1.1 not found." +#endif + +int main(int, char **) +{ + XRRScreenSize *size; + size = 0; + return 0; +} diff --git a/config.tests/x11/xrandr/xrandr.pro b/config.tests/x11/xrandr/xrandr.pro new file mode 100644 index 0000000..3fb2910 --- /dev/null +++ b/config.tests/x11/xrandr/xrandr.pro @@ -0,0 +1,4 @@ +SOURCES = xrandr.cpp +CONFIG += x11 +CONFIG -= qt +LIBS += -lXrender -lXrandr |