summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,
215 if (GETBIT(gs->type, GS_HSCROLL)) { 215 if (GETBIT(gs->type, GS_HSCROLL)) {
216 hscroll += gs->dx; 216 hscroll += gs->dx;
217 while (hscroll > hstep) { 217 while (hscroll > hstep) {
218 tickle_button(local, 6); 218 tickle_button(local, 7);
219 hscroll -= hstep; 219 hscroll -= hstep;
220 } 220 }
221 while (hscroll < -hstep) { 221 while (hscroll < -hstep) {
222 tickle_button(local, 7); 222 tickle_button(local, 6);
223 hscroll += hstep; 223 hscroll += hstep;
224 } 224 }
225 TRACE1("hscroll: %d\n", gs->dx); 225 TRACE1("hscroll: %d\n", gs->dx);