tools: Add simple tool to retrieve the current cursor from X

Slightly more funky would be to poke around in the CRTC, but that should
require master. As it stands this should help verify that what X is
supplying to the driver matches user expectations

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2015-03-04 11:19:09 +00:00
parent 3e390ec411
commit 8d76f90e2c
4 changed files with 120 additions and 1 deletions

View File

@@ -312,6 +312,9 @@ if test "x$tools" != "xno"; then
tools="no"
fi
PKG_CHECK_MODULES(TOOL_CURSOR, [xfixes x11 libpng], [cursor="yes"], [ivo="no"])
AM_CONDITIONAL(BUILD_TOOL_CURSOR, test "x$cursor" != "xno")
IVO_CFLAGS="$IVO_CFLAGS $extra_cflags"
fi
if test "x$tools" != "xno"; then