aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/multitouch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multitouch.c b/src/multitouch.c
index fd2393f..012476d 100644
--- a/src/multitouch.c
+++ b/src/multitouch.c
@@ -215,11 +215,11 @@ static void handle_gestures(LocalDevicePtr local,
if (GETBIT(gs->type, GS_HSCROLL)) {
hscroll += gs->dx;
while (hscroll > hstep) {
- tickle_button(local, 6);
+ tickle_button(local, 7);
hscroll -= hstep;
}
while (hscroll < -hstep) {
- tickle_button(local, 7);
+ tickle_button(local, 6);
hscroll += hstep;
}
TRACE1("hscroll: %d\n", gs->dx);