update wmserver/include/window_root.h.

Signed-off-by: 鄢吉傲 <914927840@qq.com>
This commit is contained in:
鄢吉傲 2024-06-26 03:06:49 +00:00 committed by Gitee
parent 0d0259b333
commit 3a81b35b4d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -156,8 +156,8 @@ private:
std::map<WindowManagerAgentType, std::vector<sptr<IWindowManagerAgent>>> windowManagerAgents_;
sptr<AgentDeathRecipient> windowDeath_ = new AgentDeathRecipient(std::bind(&WindowRoot::OnRemoteDied,
this, std::placeholders::_1));
sptr<AgentDeathRecipient> windowDeath_ = new AgentDeathRecipient(
[this](const sptr<IRemoteObject>& remoteObject) { this->OnRemoteDied(remoteObject); });
Callback callback_;
uint32_t maxAppWindowNumber_ = 100;
SplitRatioConfig splitRatioConfig_ = {0.1, 0.9, {}};