Commit 9afbecf4 authored by Martin Flöser's avatar Martin Flöser

[wayland] Drop workaround for faking frame rendered for Qt windows

No longer needed with our own QPA plugin.
parent 8add14fe
......@@ -113,16 +113,6 @@ void WaylandServer::init(const QByteArray &socketName)
// skip Xwayland clients, those are created using standard X11 way
if (surface->client() == m_internalConnection.server) {
// one of Qt's windows
// HACK: in order to get Qt to not block for frame rendered, we immediatelly emit the
// frameRendered once we get a new damage event.
auto s = surface->surface();
connect(s, &SurfaceInterface::damaged, this, [this, s] {
auto client = new ShellClient(surface);
if (auto c = Compositor::self()) {
connect(client, &Toplevel::needsRepaint, c, &Compositor::scheduleRepaint);
Markdown is supported
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