protocols: refactor class member vars (types) (#10261)

This commit is contained in:
davc0n
2025-05-03 18:54:50 +02:00
committed by GitHub
parent 3465efcdc1
commit 46ac115bd1
21 changed files with 147 additions and 147 deletions

View File

@@ -50,11 +50,11 @@ CPrimarySelectionSource::CPrimarySelectionSource(SP<CZwpPrimarySelectionSourceV1
resource->setData(this);
resource->setDestroy([this](CZwpPrimarySelectionSourceV1* r) {
events.destroy.emit();
m_events.destroy.emit();
PROTO::primarySelection->destroyResource(this);
});
resource->setOnDestroy([this](CZwpPrimarySelectionSourceV1* r) {
events.destroy.emit();
m_events.destroy.emit();
PROTO::primarySelection->destroyResource(this);
});
@@ -62,7 +62,7 @@ CPrimarySelectionSource::CPrimarySelectionSource(SP<CZwpPrimarySelectionSourceV1
}
CPrimarySelectionSource::~CPrimarySelectionSource() {
events.destroy.emit();
m_events.destroy.emit();
}
SP<CPrimarySelectionSource> CPrimarySelectionSource::fromResource(wl_resource* res) {