main: Pin wl_output version to 3
Otherwise, things will crash when the compositor adds support for a newer version.pull/127/head
parent
8a65a8557e
commit
85563d59f8
|
@ -125,8 +125,7 @@ static void registry_add(void* data, struct wl_registry* registry,
|
|||
|
||||
if (strcmp(interface, wl_output_interface.name) == 0) {
|
||||
struct wl_output* wl_output =
|
||||
wl_registry_bind(registry, id, &wl_output_interface,
|
||||
version);
|
||||
wl_registry_bind(registry, id, &wl_output_interface, 3);
|
||||
if (!wl_output)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue