diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-09 04:24:08 +0100 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-09 04:24:08 +0100 |
commit | 15fe0f6ceb792bfb46230372cd5e318555f569df (patch) | |
tree | 365841c89a81a79ef8ea617a753c01134cf2196e | |
parent | b8f7fdfe1b8974a6677e73cfe7c83da70a35f4ae (diff) | |
download | xorg-input-kobomultitouch-15fe0f6ceb792bfb46230372cd5e318555f569df.tar.gz xorg-input-kobomultitouch-15fe0f6ceb792bfb46230372cd5e318555f569df.tar.bz2 xorg-input-kobomultitouch-15fe0f6ceb792bfb46230372cd5e318555f569df.zip |
minor
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r-- | src/multitouch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/multitouch.c b/src/multitouch.c index 8411718..f46d92e 100644 --- a/src/multitouch.c +++ b/src/multitouch.c @@ -128,13 +128,13 @@ static void handle_gestures(LocalDevicePtr local, int i; if (GETBIT(gs->type, GS_MOVE)) { xf86PostMotionEvent(local->dev, 0, 0, 2, gs->dx, gs->dy); - //xf86Msg(X_INFO, "motion: %d %d\n", dx, dy); + //xf86Msg(X_INFO, "motion: %d %d\n", gs->dx, gs->dy); } - if (GETBIT(gs->type, GS_BUTTON)) { - for (i = 0; i < gs->nbt; i++) - xf86PostButtonEvent(local->dev, FALSE, - gs->btix[i], gs->btval[i], - 0, 0); + for (i = 0; i < gs->nbt; i++) { + xf86PostButtonEvent(local->dev, FALSE, + gs->btix[i], gs->btval[i], + 0, 0); + xf86Msg(X_INFO, "button: %d %d\n", gs->btix[i], gs->btval[i]); } } |