diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2013-06-26 22:20:31 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-03 14:52:06 -0400 |
commit | d27cb096adf71139734b434d60cbb28bd4a510b1 (patch) | |
tree | 2884de957ce741d7429c2a5941307cfcebd1b1f4 | |
parent | f568fd5c356d0579d32349078e2ca95bdb1425db (diff) |
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>
-rw-r--r-- | clients/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c index c8e421b3..cff7102f 100644 --- a/clients/window.c +++ b/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) { 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) { |