From 3b237d2345d82cadaac4021a0847a2c78392aca5 Mon Sep 17 00:00:00 2001 From: xingyanan Date: Mon, 1 Aug 2022 17:21:36 +0800 Subject: [PATCH] fix shown bug Signed-off-by: xingyanan Change-Id: I6568280fe043a5646dba271aad6bb79485561589 --- wm/src/window_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wm/src/window_impl.cpp b/wm/src/window_impl.cpp index ab78683c..8206529e 100755 --- a/wm/src/window_impl.cpp +++ b/wm/src/window_impl.cpp @@ -1088,7 +1088,7 @@ WMError WindowImpl::Show(uint32_t reason, bool withAnimation) SingletonContainer::Get().ProcessPointDown(property_->GetWindowId(), property_, moveDragProperty_); } - NotifyAfterUnfocused(false); + NotifyAfterForeground(false); return WMError::WM_OK; } WMError ret = PreProcessShow(reason, withAnimation);