Mouse movement events sent after mouse clicks even if the mouse does not move -> fixed after 3.2.4

Description

Related to the mouse movement issues I mentioned in #4086 the first comment: when I click a mouse button, the guest receives a button press/release event, followed immediately by a motion event, even though the mouse is not being moved.

The difference is that, now I'm using 2.2.4, the motion even occurs *after* the button events. This still results in annoying side-effects such as text being selected when clicking on a gnome-terminal window (since it thinks I just dragged the mouse pointer, I assume).

Running evtest on the input device corresponding to the mouse device only shows button events; the motion events are not present. If I remove the vboxmouse device from the X server then the spurious motion events go away, so I guess the problem lies there.

Summary
changed from Mouse movement events sent after mouse clicks even if the mouse does not move -> fixed in SVN to Mouse movement events sent after mouse clicks even if the mouse does not move -> fixed after 3.2.4