d45f5b2493
Implements pointer barriers as specified by version 5 of the XFIXES protocol. Barriers are axis-aligned, zero-width lines that block pointer movement for relative input devices. Barriers may block motion in either the positive or negative direction, or both. v3: - Fix off-by-one in version_requests array - Port to non-glib test harness - Fix review notes from Søren Sandmann Pedersen, add tests to match Co-authored-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
if ENABLE_UNIT_TESTS
|
|
if HAVE_LD_WRAP
|
|
SUBDIRS= . xi2
|
|
noinst_PROGRAMS = xkb input xtest list misc fixes
|
|
check_LTLIBRARIES = libxservertest.la
|
|
|
|
TESTS=$(noinst_PROGRAMS)
|
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
|
|
INCLUDES = @XORG_INCS@
|
|
TEST_LDADD=libxservertest.la $(XORG_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
|
|
|
if SPECIAL_DTRACE_OBJECTS
|
|
TEST_LDADD += $(OS_LIB) $(DIX_LIB)
|
|
endif
|
|
|
|
xkb_LDADD=$(TEST_LDADD)
|
|
input_LDADD=$(TEST_LDADD)
|
|
xtest_LDADD=$(TEST_LDADD)
|
|
list_LDADD=$(TEST_LDADD)
|
|
misc_LDADD=$(TEST_LDADD)
|
|
fixes_LDADD=$(TEST_LDADD)
|
|
|
|
libxservertest_la_LIBADD = \
|
|
$(XSERVER_LIBS) \
|
|
$(top_builddir)/hw/xfree86/loader/libloader.la \
|
|
$(top_builddir)/hw/xfree86/os-support/libxorgos.la \
|
|
$(top_builddir)/hw/xfree86/common/libcommon.la \
|
|
$(top_builddir)/hw/xfree86/parser/libxf86config_internal.la \
|
|
$(top_builddir)/hw/xfree86/dixmods/libdixmods.la \
|
|
$(top_builddir)/hw/xfree86/modes/libxf86modes.la \
|
|
$(top_builddir)/hw/xfree86/ramdac/libramdac.la \
|
|
$(top_builddir)/hw/xfree86/ddc/libddc.la \
|
|
$(top_builddir)/hw/xfree86/i2c/libi2c.la \
|
|
$(top_builddir)/hw/xfree86/dixmods/libxorgxkb.la \
|
|
$(top_builddir)/hw/xfree86/libxorg.la \
|
|
$(top_builddir)/mi/libmi.la \
|
|
$(top_builddir)/os/libos.la \
|
|
@XORG_LIBS@
|
|
endif
|
|
endif
|
|
|
|
CLEANFILES=libxservertest.c
|
|
|
|
libxservertest.c:
|
|
touch $@
|