mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 23:54:09 +00:00
tests/wayland: Bump wl_compositor version for test clients
Version 2 is required for buffer transform, however directly going for the highest currently supported version doesn't break any tests and makes more features available. Also fix indentation below while on it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1055>
This commit is contained in:
parent
8d9bbe109b
commit
db2cf4b874
@ -151,7 +151,8 @@ handle_registry_global (void *user_data,
|
||||
if (strcmp (interface, "wl_compositor") == 0)
|
||||
{
|
||||
display->compositor =
|
||||
wl_registry_bind (registry, id, &wl_compositor_interface, 1);
|
||||
wl_registry_bind (registry, id, &wl_compositor_interface,
|
||||
MIN (version, 5));
|
||||
}
|
||||
else if (strcmp (interface, "wl_subcompositor") == 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user