[PATCH] screenshooter: Add missing field initializers for wl_output_listener

Daniel Stone daniel at fooishbar.org
Wed Jul 8 04:26:08 PDT 2015

On 7 July 2015 at 19:48, Bill Spitzak <spitzak at gmail.com> wrote:
> On Tue, Jul 7, 2015 at 11:11 AM, Daniel Stone <daniel at fooishbar.org> wrote:
>> More correctly, they are never called (which would happen on receipt
>> of a server event) because it only ever binds wl_output v1, where the
>> done/scale events were added in v2, so the server will never send
>> those events.
> How come the definition of the listener with those calls is available when
> compiling, but it still compiles a request for an earlier version of the
> api? I would think these would be tied together so that it is difficult to
> produce code using a different api version than listener structure.

For a whole series of tedious reasons, including how you still need to
be careful if you're negotiating non-fixed versions anyway.


More information about the wayland-devel mailing list