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 /configure.ac | |
| 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 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5e177c7..8e107ff 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -27,6 +27,15 @@ PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0]) | |||
| 27 | PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0]) | 27 | PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0]) |
| 28 | PKG_CHECK_MODULES([X11], [x11]) | 28 | PKG_CHECK_MODULES([X11], [x11]) |
| 29 | 29 | ||
| 30 | AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) | ||
| 31 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) | ||
| 32 | |||
| 33 | AS_IF([test "x$with_xi" = "xyes"], [ | ||
| 34 | PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) | ||
| 35 | PKG_CHECK_MODULES(XI2_1, [xi >= 1.4.99.1] [inputproto >= 2.0.99.1]) | ||
| 36 | AC_DEFINE([HAVE_XI], [1], [XI2.1 support]) | ||
| 37 | ]) | ||
| 38 | |||
| 30 | AC_CONFIG_FILES([Makefile | 39 | AC_CONFIG_FILES([Makefile |
| 31 | tools/Makefile | 40 | tools/Makefile |
| 32 | mtview.pc]) | 41 | mtview.pc]) |
