diff --git a/src/protocols/core/Compositor.cpp b/src/protocols/core/Compositor.cpp index 2aa72d97..7638486f 100644 --- a/src/protocols/core/Compositor.cpp +++ b/src/protocols/core/Compositor.cpp @@ -512,7 +512,7 @@ void CWLSurfaceResource::scheduleState(WP state) { g_pEventLoopManager->doOnReadable(std::move(state->buffer->m_syncFd), [state, whenReadable]() { whenReadable(state, LOCK_REASON_FENCE); }); } else { // state commit without a buffer. - m_stateQueue.unlock(state, LOCK_REASON_FENCE); + m_stateQueue.tryProcess(); } }