[Spice-devel] [PATCH spice-gtk 06/11] Do not send pointer motion of 0x0
Hans de Goede
hdegoede at redhat.com
Thu Dec 8 06:54:37 PST 2011
ACK.
On 12/08/2011 03:12 PM, Marc-André Lureau wrote:
> ---
> gtk/channel-inputs.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/gtk/channel-inputs.c b/gtk/channel-inputs.c
> index bacbba3..a29c707 100644
> --- a/gtk/channel-inputs.c
> +++ b/gtk/channel-inputs.c
> @@ -326,6 +326,9 @@ void spice_inputs_motion(SpiceInputsChannel *channel, gint dx, gint dy,
> if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY)
> return;
>
> + if (dx == 0&& dy == 0)
> + return;
> +
> c = channel->priv;
> c->bs = button_state;
> c->dx += dx;
More information about the Spice-devel
mailing list