From f598d348b12fd6d71c3be7c84b85c24f8fd403e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 1 Jul 2005 06:44:39 +0000 Subject: [PATCH] A window thread is now called "w:" instead of just "<title>". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13376 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/ServerWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index 1f1599c649..4f4f2f2c3e 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -10,6 +10,7 @@ * Axel Dörfler, axeld@pinc-software.de */ + #include <AppDefs.h> #include <GraphicsDefs.h> #include <Message.h> @@ -139,8 +140,11 @@ ServerWindow::Run() { BAutolock locker(this); + char name[B_OS_NAME_LENGTH]; + snprintf(name, sizeof(name), "w:%s", fTitle); + // Spawn our message-monitoring thread - fThread = spawn_thread(_message_thread, fTitle, B_NORMAL_PRIORITY, this); + fThread = spawn_thread(_message_thread, name, B_NORMAL_PRIORITY, this); if (fThread < B_OK) return false;