mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-22 04:55:33 -04:00
修复分屏条窗口退出时focus改变的问题
Signed-off-by: xingyanan <xingyanan2@huawei.com> Change-Id: Ie6effd7e8765a18c14739cff9f91d542c3bc7735
This commit is contained in:
@@ -314,7 +314,10 @@ void WindowRoot::UpdateFocusWindowWithWindowRemoved(const sptr<WindowNode>& node
|
||||
WLOGFE("window is invalid");
|
||||
return;
|
||||
}
|
||||
|
||||
if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) {
|
||||
WLOGFI("window is divider, do not get next focus window.");
|
||||
return;
|
||||
}
|
||||
uint32_t windowId = node->GetWindowId();
|
||||
uint32_t focusedWindowId = container->GetFocusWindow();
|
||||
if (WindowHelper::IsMainWindow(node->GetWindowType())) {
|
||||
|
||||
Reference in New Issue
Block a user