From 20958f84eef0b40f91e4559099f342f28650c183 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Wed, 26 Oct 2011 12:33:48 -0700 Subject: Use xf86PostButtonEventP for held button action releases It appears that commit 485137ef partially missed this particular call in its mass-migration away from xf86PostButtonEvent. This results in the pointer jumping away from the correct location when a held button action is finally released. It is most noticible when the action "button +1" is assigned to the stylus or eraser and a window is dragged. Signed-off-by: Jason Gerecke Reviewed-by: Peter Hutterer --- src/wcmCommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index b907499..600991e 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -256,7 +256,7 @@ static void sendAction(InputInfoPtr pInfo, int press, break; if (countPresses(btn_no, &keys[i], nkeys - i)) - xf86PostButtonEvent(pInfo->dev, + xf86PostButtonEventP(pInfo->dev, is_absolute(pInfo), btn_no, 0, first_val, num_val, VCOPY(valuators, num_val)); -- cgit v1.2.1