summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-02-15 18:56:17 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-02-15 18:56:17 +0100
commit91c364d87b88a89dc991f9effbf4d537ca19192a (patch)
treea7d6489764e23aeb415d46576227010f855a70c4 /tools/Makefile.am
parent0129cd863ad87b8090f150611be58ac9e6e9bfda (diff)
Optional XI2.1 support
This patch adds XI2.1 support to mtview. Several instances of the the program can be open simultaneously, each one being a window into the device, which is mapped onto the whole screen. On a touchscreen, paiting can occur simultaneously in each window. The device mapping is automatically modified in multi-head setups, and xinput set-prop can be used to map the device to a portion of the screen. Thanks to Chase Douglas for fixing this. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index f33b5e5..8e9f90a 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -4,3 +4,11 @@ INCLUDES=-I$(top_srcdir)/include/
4 4
5mtview_SOURCES = mtview.c 5mtview_SOURCES = mtview.c
6mtview_LDFLAGS = -lX11 -lutouch-frame -lutouch-evemu -lmtdev -lm 6mtview_LDFLAGS = -lX11 -lutouch-frame -lutouch-evemu -lmtdev -lm
7
8if HAVE_XI
9
10AM_CFLAGS = $(XINPUT_CFLAGS)
11
12mtview_LDFLAGS += $(XINPUT_LIBS)
13
14endif