summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2011-10-26 12:33:48 -0700
committerJason Gerecke <killertofu@gmail.com>2011-11-14 16:09:29 -0800
commit20958f84eef0b40f91e4559099f342f28650c183 (patch)
tree3c9b279460a4d176d39f64ade9290f47d2b27503
parent2f233f62544f9419a6f12e201d09189339f7c1d2 (diff)
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 <killertofu@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/wcmCommon.c2
1 files changed, 1 insertions, 1 deletions
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));