diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-03 18:54:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 18:54:50 +0200 |
| commit | 46ac115bd19ee3aff5c816033de0b1d55a74e33f (patch) | |
| tree | a731c290e62451d026c809b5bdd22c8034488208 /src/managers/SeatManager.cpp | |
| parent | 3465efcdc1d15402ca23e7ce609905c5814fb9ee (diff) | |
protocols: refactor class member vars (types) (#10261)
Diffstat (limited to 'src/managers/SeatManager.cpp')
| -rw-r--r-- | src/managers/SeatManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/SeatManager.cpp b/src/managers/SeatManager.cpp index f910598d..419e8bf4 100644 --- a/src/managers/SeatManager.cpp +++ b/src/managers/SeatManager.cpp @@ -559,7 +559,7 @@ void CSeatManager::setCurrentSelection(SP<IDataSource> source) { m_selection.currentSelection = source; if (source) { - m_selection.destroySelection = source->events.destroy.registerListener([this](std::any d) { setCurrentSelection(nullptr); }); + m_selection.destroySelection = source->m_events.destroy.registerListener([this](std::any d) { setCurrentSelection(nullptr); }); PROTO::data->setSelection(source); PROTO::dataWlr->setSelection(source, false); } @@ -584,7 +584,7 @@ void CSeatManager::setCurrentPrimarySelection(SP<IDataSource> source) { m_selection.currentPrimarySelection = source; if (source) { - m_selection.destroyPrimarySelection = source->events.destroy.registerListener([this](std::any d) { setCurrentPrimarySelection(nullptr); }); + m_selection.destroyPrimarySelection = source->m_events.destroy.registerListener([this](std::any d) { setCurrentPrimarySelection(nullptr); }); PROTO::primarySelection->setSelection(source); PROTO::dataWlr->setSelection(source, true); } |
