window: Request version 3 of wl_compositor

Originally window.c was requesting version 1 but several clients were
calling version 2 and 3 events including the desktop shell itself.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
dev
Jason Ekstrand 12 years ago committed by Kristian Høgsberg
parent f568fd5c35
commit d27cb096ad
  1. 2
      clients/window.c

@ -4751,7 +4751,7 @@ registry_handle_global(void *data, struct wl_registry *registry, uint32_t id,
if (strcmp(interface, "wl_compositor") == 0) { if (strcmp(interface, "wl_compositor") == 0) {
d->compositor = wl_registry_bind(registry, id, d->compositor = wl_registry_bind(registry, id,
&wl_compositor_interface, 1); &wl_compositor_interface, 3);
} else if (strcmp(interface, "wl_output") == 0) { } else if (strcmp(interface, "wl_output") == 0) {
display_add_output(d, id); display_add_output(d, id);
} else if (strcmp(interface, "wl_seat") == 0) { } else if (strcmp(interface, "wl_seat") == 0) {

Loading…
Cancel
Save