Commit 219b1b75 authored by Martin Flöser's avatar Martin Flöser
Browse files

[server] Flush client after sending a frameRendered callback

parent df22d2ac
......@@ -173,11 +173,15 @@ void SurfaceInterface::frameRendered(quint32 msec)
// notify all callbacks
const bool needsFlush = !d->current.callbacks.isEmpty();
while (!d->current.callbacks.isEmpty()) {
wl_resource *r = d->current.callbacks.takeFirst();
wl_callback_send_done(r, msec);
if (needsFlush) {
void SurfaceInterface::Private::destroy()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment