[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-cvs: pcb.git: branch: master updated (183ff5b416ea26fc99d72a54a7d093310e940cd5)
git@xxxxxxxxxx writes:
> [...]
> commit f2ede77431b363f2ef8f5f9e05e47ffa4858537d
> Author: Peter Clifton <pcjc2@xxxxxxxxx>
> Commit: Peter Clifton <pcjc2@xxxxxxxxx>
>
> hid/gtk: Use motion notify events to avoid too rapid pointer events
>
> Not fixing a specific problem - just a backport from the GL branch.
>
> diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
> index 4ca6040..a216dd7 100644
> --- a/src/hid/gtk/gui-output-events.c
> +++ b/src/hid/gtk/gui-output-events.c
> @@ -707,12 +707,14 @@ queue_tooltip_update (GHidPort *out)
>
> gint
> ghid_port_window_motion_cb (GtkWidget * widget,
> - GdkEventButton * ev, GHidPort * out)
> + GdkEventMotion * ev, GHidPort * out)
> {
> gdouble dx, dy;
> static gint x_prev = -1, y_prev = -1;
> gboolean moved;
>
> + gdk_event_request_motions (ev);
gdk_event_request_motions() has been introduced with Gdk 2.12 while PCB
should support versions down to 2.4.
Patrick
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs