summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/multitouch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/multitouch.c b/src/multitouch.c
index 7102b1c..d44e038 100644
--- a/src/multitouch.c
+++ b/src/multitouch.c
@@ -134,6 +134,11 @@ static void handle_state(LocalDevicePtr local,
134 xf86Msg(X_INFO, "motion: %d %d\n", dx, dy); 134 xf86Msg(X_INFO, "motion: %d %d\n", dx, dy);
135 xf86PostMotionEvent(local->dev, 0, 0, 2, dx, dy); 135 xf86PostMotionEvent(local->dev, 0, 0, 2, dx, dy);
136 } 136 }
137 for (i = 0; i < DIM_BUTTON; i++)
138 if (ns->button[i] != os->button[i])
139 xf86PostButtonEvent(local->dev, FALSE,
140 i + 1, ns->button[i],
141 0, 0);
137} 142}
138 143
139//////////////////////////////////////////////////////////////////////////// 144////////////////////////////////////////////////////////////////////////////