Navigation Menu

Skip to content

Commit

Permalink
Revert "Don't invalidate textures when the scene graph is stopped."
Browse files Browse the repository at this point in the history
This reverts commit 40e23af.
  • Loading branch information
denexter committed Oct 9, 2015
1 parent 4be829e commit d955352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compositor/compositor_api/qwaylandquicksurface.cpp
Expand Up @@ -169,6 +169,7 @@ QWaylandQuickSurface::QWaylandQuickSurface(wl_client *client, quint32 id, int ve
QQuickWindow *window = static_cast<QQuickWindow *>(compositor->window());
connect(window, &QQuickWindow::beforeSynchronizing, this, &QWaylandQuickSurface::updateTexture, Qt::DirectConnection);
connect(window, &QQuickWindow::sceneGraphInvalidated, this, &QWaylandQuickSurface::invalidateTexture, Qt::DirectConnection);
connect(window, &QQuickWindow::sceneGraphAboutToStop, this, &QWaylandQuickSurface::invalidateTexture, Qt::DirectConnection);
connect(this, &QWaylandSurface::windowPropertyChanged, d->windowPropertyMap, &QQmlPropertyMap::insert);
connect(d->windowPropertyMap, &QQmlPropertyMap::valueChanged, this, &QWaylandSurface::setWindowProperty);

Expand Down

0 comments on commit d955352

Please sign in to comment.