diff --git a/window_scene/session_manager/src/scene_input_manager.cpp b/window_scene/session_manager/src/scene_input_manager.cpp index 7bd4a0f7a1..31e33ab733 100644 --- a/window_scene/session_manager/src/scene_input_manager.cpp +++ b/window_scene/session_manager/src/scene_input_manager.cpp @@ -222,7 +222,8 @@ void SceneInputManager::ConstructDisplayInfos(std::vector& dis static_cast(displayMode)), .displayDirection = displayRotation, .displayMode = static_cast(displayMode), - .transform = transformData}; + .transform = transformData, + .ppi = screenProperty.GetXDpi()}; displayInfos.emplace_back(displayInfo); } }