X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fshell.c;h=4f564afeebb1deb3979937d5fdb19b3cba47e64c;hb=c01b90ece22cc587e94b99f4e3bce50d7a3571eb;hp=1418d95fedd2571599870f7c68172b79852fd085;hpb=0907e87f1576f8ad70657d00d720b4f6ead8aed8;p=src%2Fagl-compositor.git diff --git a/src/shell.c b/src/shell.c index 1418d95..4f564af 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1705,6 +1705,11 @@ bind_agl_shell(struct wl_client *client, but still do the assignment */ ivi->shell_client.status = BOUND_OK; agl_shell_send_bound_ok(ivi->shell_client.resource); + } else { + /* fallback for just version 1 of the protocol */ + wl_resource_set_implementation(resource, &agl_shell_implementation, + ivi, unbind_agl_shell); + ivi->shell_client.resource = resource; } }