proto/shm: update wl_shm to v2 (#13187)

This commit is contained in:
EvilLary 2026-02-06 20:08:30 +03:00 committed by GitHub
parent 562171ab66
commit 8606bc255b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

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