wl_output: fix incorrect version check for name callback

wl_output name callback is defined in version 4, not 3.
This commit is contained in:
dec05eba 2025-06-17 00:33:37 +05:00 committed by dasha_uwu
parent 0fe255c3ce
commit 143af553ea

View file

@ -274,7 +274,7 @@ HandleBind (struct wl_client *client, void *data,
/* Send the output name. I think it is supposed to be unique. */
if (wl_resource_get_version (resource) >= 3)
if (wl_resource_get_version (resource) >= 4)
wl_output_send_name (resource, output->name);
if (wl_resource_get_version (resource) >= 2)