[PATCH v5 wayland] protocol: add wl_pointer.frame, axis_source, axis_stop, and axis_discrete
Peter Hutterer
peter.hutterer at who-t.net
Wed Nov 18 14:46:47 PST 2015
On Mon, Nov 16, 2015 at 07:07:46PM +0000, Daniel Stone wrote:
> Hi,
>
> On Monday, 16 November 2015, Bill Spitzak <spitzak at gmail.com> wrote:
> >
> > Since the "frame" event groups everything together, it does not seem like
> > there is a need to talk about "latching". _descrete events are "latching"
> > in that they are in the same frame. This could remove some complexity from
> > your description I think.
> >
>
> Indeed, talking about grouped rather than latched events may help a bit. We
> already use latched to describe, e.g. wl_surface.commit, and using
> different language may help clarify a bit.
discrete events are latching for axis events though, they're not just
grouped in the same frame, they always precede the axis event. If you have
two axis updates in the same frame, the only allowed order is:
axis_discrete
axis
axis_discrete
axis
frame
it is not permitted to have:
axis_discrete
axis_discrete
axis
axis
frame
Theoretically possible now that we carry the axis information, but that'd
require buy-in from all the current reviewers.
Cheers,
Peter
More information about the wayland-devel
mailing list