diff options
author | Tobias Schlemmer <keinstein@users.sf.net> | 2016-03-10 19:13:41 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2016-03-10 19:13:41 +0100 |
commit | f075deff61d3092d6754e48a3b63d40647888a35 (patch) | |
tree | 915f1b44e72cd69bed5fb6816bc63d87d3a2d8bf | |
parent | cd0ace3b30f78f30f52759837b8117e71298b760 (diff) |
xf86PostKeyEvent dropped the valuator arguments it wasn't using.
Debian bug#813359 <https://bugs.debian.org/813359>
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/xf86Aiptek.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c index 7368602..78532e4 100644 --- a/src/xf86Aiptek.c +++ b/src/xf86Aiptek.c @@ -293,13 +293,19 @@ xf86AiptekSendEvents(InputInfoPtr pInfo, int r_z) */ /* Keyboard 'make' (press) event */ - xf86PostKeyEvent(pInfo->dev, i+8, TRUE, - bAbsolute, 0, 5, - x, y, common->currentValues.button, xTilt, yTilt); + xf86PostKeyEvent(pInfo->dev, i+8, TRUE +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 22 + , bAbsolute, 0, 5, + x, y, common->currentValues.button, xTilt, yTilt +#endif + ); /* Keyboard 'break' (depress) event */ - xf86PostKeyEvent(pInfo->dev, i+8, FALSE, - bAbsolute, 0, 5, - x, y, common->currentValues.button, xTilt, yTilt); + xf86PostKeyEvent(pInfo->dev, i+8, FALSE +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 22 + , bAbsolute, 0, 5, + x, y, common->currentValues.button, xTilt, yTilt +#endif + ); break; } } |