← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 792598] [NEW] XWarpPointer sends wrong raw mouse input event

 

Public bug reported:

>From https://bugs.freedesktop.org/show_bug.cgi?id=30068
"XWarpPointer should generate Motion but not RawMotion (it's RAW, right?). And
it definitely generates wrong RawMotion, because it contains valuators' values
equal to absolute screen coordinates of mouse move target (and that is
definitely wrong, since all other mouse events are relative).

So, my point is that XWarpPointer shouldn't generate RawMotion events at
all."

He also includes a small testcase.

Happens in Ubuntu 10.10 and 11.04 (or any Ubuntu with XInput2 support).
Affects apps that use xinput2, e.g. wine as of roughly wine-1.3.20 or later.

Drives users nuts... the main menu of Bioshock Demo and many other
games is nearly completely useless because of the jumping mouse
when xinput2 is used; see http://bugs.winehq.org/show_bug.cgi?id=27380

The lead Wine developer, Alexandre Julliard, has been waiting for this
bug to be fixed for some time now.  He's trying to work around it,
without much luck so far.

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/792598

Title:
  XWarpPointer sends wrong raw mouse input event


Follow ups

References