Never consider the case where client requests higher version
Created by: acrisci
A lot of the code for global binding does something like this:
if (version > 1) {
wlr_log(L_ERROR, "Client requested unsupported surface_layers version,"
"disconnecting");
wl_client_destroy(wl_client);
return;
}
That code will never be reached. If they try to bind to a version higher, wl_registry will disconnect the client for you.
wl_registry@2: error 0: invalid version for global surface_layers (8): have 1, wanted 2