protocols: refactor class member vars (core) (#10259)
This commit is contained in:
parent
0c736217a7
commit
d9cad5e1b6
57 changed files with 1160 additions and 1158 deletions
|
|
@ -6,7 +6,7 @@ CIdleInhibitor::CIdleInhibitor(SP<CIdleInhibitorResource> resource_, SP<CWLSurfa
|
|||
}
|
||||
|
||||
CIdleInhibitorResource::CIdleInhibitorResource(SP<CZwpIdleInhibitorV1> resource_, SP<CWLSurfaceResource> surface_) : resource(resource_), surface(surface_) {
|
||||
listeners.destroySurface = surface->events.destroy.registerListener([this](std::any d) {
|
||||
listeners.destroySurface = surface->m_events.destroy.registerListener([this](std::any d) {
|
||||
surface.reset();
|
||||
listeners.destroySurface.reset();
|
||||
destroySent = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue