diff options
Diffstat (limited to 'src/multitouch.c')
-rw-r--r-- | src/multitouch.c | 5 |
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, xf86Msg(X_INFO, "motion: %d %d\n", dx, dy); xf86PostMotionEvent(local->dev, 0, 0, 2, dx, dy); } + for (i = 0; i < DIM_BUTTON; i++) + if (ns->button[i] != os->button[i]) + xf86PostButtonEvent(local->dev, FALSE, + i + 1, ns->button[i], + 0, 0); } //////////////////////////////////////////////////////////////////////////// |