* use client_window_info as suggested by Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29079 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
55751274e7
commit
2f8465212f
@ -2627,11 +2627,10 @@ Desktop::WriteWindowInfo(int32 serverToken, BPrivate::LinkSender& sender)
|
||||
}
|
||||
}
|
||||
|
||||
int32 decoratorInfo = 2 * sizeof(float);
|
||||
int32 length = window->Title() ? strlen(window->Title()) : 0;
|
||||
|
||||
sender.StartMessage(B_OK);
|
||||
sender.Attach<int32>(sizeof(window_info) + decoratorInfo + length + 1);
|
||||
sender.Attach<int32>(sizeof(client_window_info) + length);
|
||||
sender.Attach(&info, sizeof(window_info));
|
||||
sender.Attach<float>(tabSize);
|
||||
sender.Attach<float>(borderSize);
|
||||
|
Loading…
Reference in New Issue
Block a user