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

[server] Flush clients after sending Output information

Explictly flush the client after we send all output information on bind
and flush all clients after output changes.
parent 16b26b24
......@@ -84,6 +84,7 @@ OutputInterface::OutputInterface(Display *display, QObject *parent)
d->sendMode((*it).resource, *currentModeIt);
d->sendDone(*it);
}
wl_display_flush_clients(*(d->display));
}
);
connect(this, &OutputInterface::subPixelChanged, this, [this, d] { d->updateGeometry(); });
......@@ -288,6 +289,7 @@ void OutputInterface::Private::bind(wl_client *client, uint32_t version, uint32_
}
sendDone(r);
c->flush();
}
void OutputInterface::Private::unbind(wl_resource *resource)
......
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