diff options
Diffstat (limited to 'meta-xilinx-mali400/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland/0001-qwaylandwindow.cpp-Do-not-destroy-shell-suface-befor.patch')
-rw-r--r-- | meta-xilinx-mali400/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland/0001-qwaylandwindow.cpp-Do-not-destroy-shell-suface-befor.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-xilinx-mali400/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland/0001-qwaylandwindow.cpp-Do-not-destroy-shell-suface-befor.patch b/meta-xilinx-mali400/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland/0001-qwaylandwindow.cpp-Do-not-destroy-shell-suface-befor.patch new file mode 100644 index 00000000..8f81ffcf --- /dev/null +++ b/meta-xilinx-mali400/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland/0001-qwaylandwindow.cpp-Do-not-destroy-shell-suface-befor.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 30f5d53244ef4173544413124f319af272235cfd Mon Sep 17 00:00:00 2001 | ||
2 | From: Madhurkiran Harikrishnan <madhurki@xilinx.com> | ||
3 | Date: Wed, 16 May 2018 17:16:53 -0700 | ||
4 | Subject: [PATCH 1/3] qwaylandwindow.cpp: Do not destroy shell suface before | ||
5 | eglDestroySurface | ||
6 | |||
7 | The call to reset results in a race condition resulting in destruction | ||
8 | of shell surface before the eglSurface thereby crashing libwayland-client. | ||
9 | |||
10 | Signed-off-by: Madhurkiran Harikrishnan <madhurki@xilinx.com> | ||
11 | Upstream-Status: Pending | ||
12 | --- | ||
13 | src/client/qwaylandwindow.cpp | 2 -- | ||
14 | 1 file changed, 2 deletions(-) | ||
15 | |||
16 | diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp | ||
17 | index 6d7c088..94c89a3 100644 | ||
18 | --- a/src/client/qwaylandwindow.cpp | ||
19 | +++ b/src/client/qwaylandwindow.cpp | ||
20 | @@ -385,8 +385,6 @@ void QWaylandWindow::setVisible(bool visible) | ||
21 | QWindowSystemInterface::flushWindowSystemEvents(); | ||
22 | if (!deleteGuard.isNull() && window()->type() == Qt::Popup) | ||
23 | closePopups(this); | ||
24 | - if (!deleteGuard.isNull()) | ||
25 | - reset(); | ||
26 | } | ||
27 | } | ||
28 | |||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||