1 From f7947e9a0e6ae99e8fd0ab3c9176885f724ac87d Mon Sep 17 00:00:00 2001
2 From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
3 Date: Tue, 19 Jul 2016 12:14:26 -0500
4 Subject: [PATCH] Avoid attaching NULL buffer while hiding EGL windows
6 Incremental fix for QTBUG-46921. Destroying the callback for NULL surface is not
7 working all the time. If the window is hidden by destroying the EGL surface
8 and hence setting the NULL buffer is no longer required.
10 Task-number:QTBUG-47902
11 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
13 src/client/qwaylandwindow.cpp | 2 --
14 1 file changed, 2 deletions(-)
16 diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
17 index 2dd58e8..24b5653 100644
18 --- a/src/client/qwaylandwindow.cpp
19 +++ b/src/client/qwaylandwindow.cpp
20 @@ -312,8 +312,6 @@ void QWaylandWindow::setVisible(bool visible)
21 QPointer<QWaylandWindow> deleteGuard(this);
22 QWindowSystemInterface::flushWindowSystemEvents();
23 if (!deleteGuard.isNull()) {
24 - attach(static_cast<QWaylandBuffer *>(0), 0, 0);
27 mBackingStore->hidden();