Fix a typo
Forgot to specify the resource where to send name & description.
This commit is contained in:
parent
330a02d862
commit
71c9f16673
1 changed files with 2 additions and 2 deletions
|
@ -161,10 +161,10 @@ void OutputInterfacePrivate::output_bind_resource(Resource *resource)
|
|||
}
|
||||
|
||||
if (resource->version() >= WL_OUTPUT_NAME_SINCE_VERSION) {
|
||||
send_name(name);
|
||||
send_name(resource->handle, name);
|
||||
}
|
||||
if (resource->version() >= WL_OUTPUT_DESCRIPTION_SINCE_VERSION) {
|
||||
send_description(description);
|
||||
send_description(resource->handle, description);
|
||||
}
|
||||
|
||||
sendMode(resource);
|
||||
|
|
Loading…
Reference in a new issue