From c41b2420af1ffa22270882937f842535f0f7a3ee Mon Sep 17 00:00:00 2001
|
From: Jeffy Chen <jeffy.chen@rock-chips.com>
|
Date: Mon, 26 Jul 2021 17:07:44 +0800
|
Subject: [PATCH 12/15] qwaylandwindow: Clear mWaitingToApplyConfigure when
|
reset
|
|
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
|
---
|
src/client/qwaylandwindow.cpp | 2 ++
|
1 file changed, 2 insertions(+)
|
|
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
|
index 7940dd7..9b163ab 100644
|
--- a/src/client/qwaylandwindow.cpp
|
+++ b/src/client/qwaylandwindow.cpp
|
@@ -271,6 +271,8 @@ bool QWaylandWindow::shouldCreateSubSurface() const
|
|
void QWaylandWindow::reset()
|
{
|
+ mWaitingToApplyConfigure = false;
|
+
|
delete mShellSurface;
|
mShellSurface = nullptr;
|
delete mSubSurfaceWindow;
|
--
|
2.20.1
|