diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-08-07 17:04:43 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-08-07 17:04:49 +0200 |
| commit | ea728315410e220d73a993f17c83ae9dc9be9015 (patch) | |
| tree | a491dbf70628ff777a3a7aad5441f5d2ec21cdde /src/protocols/DRMSyncobj.cpp | |
| parent | a399f98c68d017152883fbf81d67624ac3254073 (diff) | |
wayland/compositor: introduce client commit events
Diffstat (limited to 'src/protocols/DRMSyncobj.cpp')
| -rw-r--r-- | src/protocols/DRMSyncobj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/DRMSyncobj.cpp b/src/protocols/DRMSyncobj.cpp index 37e6d0f1..9a48b99a 100644 --- a/src/protocols/DRMSyncobj.cpp +++ b/src/protocols/DRMSyncobj.cpp @@ -75,7 +75,7 @@ CDRMSyncobjSurfaceResource::CDRMSyncobjSurfaceResource(SP<CWpLinuxDrmSyncobjSurf pending.acquireTimeline->timeline->addWaiter([this]() { surface->unlockPendingState(); }, pending.acquirePoint, DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE); }); - listeners.surfaceCommit = surface->events.commit.registerListener([this](std::any d) { + listeners.surfaceCommit = surface->events.roleCommit.registerListener([this](std::any d) { // apply timelines if new ones have been attached, otherwise don't touch // the current ones if (pending.releaseTimeline) { |
