Renamed AS_WINDOW_TITLE to AS_SET_WINDOW_TITLE.

Fixed handling in ServerWindow as stippi's latest commit broke it.
It's now properly done with a separate ServerWindow::SetTitle() method,
that will also take care to rename the window's thread.
Changed naming the window thread in the app_server to "w:<team>:<title>".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13461 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-07-05 19:20:19 +00:00
parent 7942339dee
commit 2b1246d968
4 changed files with 35 additions and 15 deletions
+1 -1
View File
@@ -1446,7 +1446,7 @@ BWindow::SetTitle(const char *title)
// we notify the app_server so we can actually see the change
if (Lock()) {
fLink->StartMessage(AS_WINDOW_TITLE);
fLink->StartMessage(AS_SET_WINDOW_TITLE);
fLink->AttachString(fTitle);
fLink->Flush();
Unlock();