Fix a typo

Forgot to specify the resource where to send name & description.
This commit is contained in:
Vlad Zahorodnii 2022-09-05 15:17:52 +03:00
parent 330a02d862
commit 71c9f16673

View file

@ -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);