diff --git a/src/servers/app/Desktop.cpp b/src/servers/app/Desktop.cpp index 2510203240..d1d1d7d87d 100644 --- a/src/servers/app/Desktop.cpp +++ b/src/servers/app/Desktop.cpp @@ -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(sizeof(window_info) + decoratorInfo + length + 1); + sender.Attach(sizeof(client_window_info) + length); sender.Attach(&info, sizeof(window_info)); sender.Attach(tabSize); sender.Attach(borderSize);