This reverts commit
42ed12656016a96b966b7b5e52f0b684ad65c227.
Weston has been fixed so attaching null buffer on hide is now a valid
operation.
Change-Id: I0fc6af7f87c97e07075da03ed1b54d2e3c1d45fd
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
wl_surface_attach(mSurface, mBuffer->buffer(),0,0);
QWindowSystemInterface::handleSynchronousExposeEvent(window(), QRect(QPoint(), geometry().size()));
}
+ } else {
+ wl_surface_attach(mSurface, 0,0,0);
}
}