[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-cvs: pcb.git: branch: master updated (183ff5b416ea26fc99d72a54a7d093310e940cd5)
On Mon, 2010-12-27 at 11:05 +0100, Patrick Bernaud wrote:
> 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.
Meh - I'll bump configure.ac to require >= 2.12.
Thanks for the pointer though.
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs