summaryrefslogtreecommitdiff
path: root/src/protocols/PrimarySelection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/PrimarySelection.cpp')
-rw-r--r--src/protocols/PrimarySelection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocols/PrimarySelection.cpp b/src/protocols/PrimarySelection.cpp
index 2cd610ec..d6eb5165 100644
--- a/src/protocols/PrimarySelection.cpp
+++ b/src/protocols/PrimarySelection.cpp
@@ -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) {