diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-02-15 18:56:17 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-15 18:56:17 +0100 |
| commit | 91c364d87b88a89dc991f9effbf4d537ca19192a (patch) | |
| tree | a7d6489764e23aeb415d46576227010f855a70c4 /tools/Makefile.am | |
| parent | 0129cd863ad87b8090f150611be58ac9e6e9bfda (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.am | 8 |
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 | ||
| 5 | mtview_SOURCES = mtview.c | 5 | mtview_SOURCES = mtview.c |
| 6 | mtview_LDFLAGS = -lX11 -lutouch-frame -lutouch-evemu -lmtdev -lm | 6 | mtview_LDFLAGS = -lX11 -lutouch-frame -lutouch-evemu -lmtdev -lm |
| 7 | |||
| 8 | if HAVE_XI | ||
| 9 | |||
| 10 | AM_CFLAGS = $(XINPUT_CFLAGS) | ||
| 11 | |||
| 12 | mtview_LDFLAGS += $(XINPUT_LIBS) | ||
| 13 | |||
| 14 | endif | ||
