proto/shm: update wl_shm to v2 (#13187)
This commit is contained in:
parent
562171ab66
commit
8606bc255b
2 changed files with 2 additions and 1 deletions
|
|
@ -176,6 +176,7 @@ CWLSHMResource::CWLSHMResource(UP<CWlShm>&& resource_) : m_resource(std::move(re
|
|||
if UNLIKELY (!good())
|
||||
return;
|
||||
|
||||
m_resource->setRelease([this](CWlShm* r) { PROTO::shm->destroyResource(this); });
|
||||
m_resource->setOnDestroy([this](CWlShm* r) { PROTO::shm->destroyResource(this); });
|
||||
|
||||
m_resource->setCreatePool([](CWlShm* r, uint32_t id, int32_t fd, int32_t size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue