[PATCH 1/2] protocol: Allow versioned message arguments

John Kåre Alsaker john.kare.alsaker at gmail.com
Mon May 13 04:49:22 PDT 2013


On Mon, May 13, 2013 at 1:28 PM, Alexander Larsson <alexl at redhat.com> wrote:

> On mån, 2013-05-13 at 13:26 +0200, John Kåre Alsaker wrote:
> > For the wl_output case I suggest we add a 'done' event which signals
> > that the compositor is done sending a batch of events for an wl_output
> > and related extension objects (which versioned message arguments won't
> > handle). This would be analogous to wl_surface.commit, only coming
> > from the server side.
>
> As i said in another mail, an even easier approach is to use the gemetry
> event itself as the "done" event, and just send the additions (if any)
> *before* the geometry event.
>
That would also work, but is uglier. The geometry event is rather large
too. Since currently events can happen at any time, adding a done event
won't break backwards compatibility.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130513/20edbf95/attachment.html>


More information about the wayland-devel mailing list