[PATCH weston 2/3] window: Request version 3 of wl_compositor
Kristian Høgsberg
hoegsberg at gmail.com
Wed Jul 3 10:40:29 PDT 2013
On Wed, Jun 26, 2013 at 10:20:31PM -0500, Jason Ekstrand wrote:
> Originally window.c was requesting version 1 but several clients were
> calling version 2 and 3 events including the desktop shell itself.
Yup, good to see that fail as expected. Patch applied, thanks.
Kristian
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> ---
> clients/window.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/clients/window.c b/clients/window.c
> index c13d207..da13d5b 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -4747,7 +4747,7 @@ registry_handle_global(void *data, struct wl_registry *registry, uint32_t id,
>
> if (strcmp(interface, "wl_compositor") == 0) {
> d->compositor = wl_registry_bind(registry, id,
> - &wl_compositor_interface, 1);
> + &wl_compositor_interface, 3);
> } else if (strcmp(interface, "wl_output") == 0) {
> display_add_output(d, id);
> } else if (strcmp(interface, "wl_seat") == 0) {
> --
> 1.8.2.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list