forked from 12to11/12to11
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:
parent
0fe255c3ce
commit
143af553ea
1 changed files with 1 additions and 1 deletions
2
output.c
2
output.c
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue