Added the input_server port to the AccelerantHWInterface - again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12143 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2005-03-29 22:44:13 +00:00
parent 127b4b0a4b
commit a4f89893df
2 changed files with 13 additions and 4 deletions
+6 -4
View File
@@ -105,13 +105,15 @@ RootLayer::RootLayer(const char *name, int32 workspaceCount,
fClassID = AS_ROOTLAYER_CLASS;
fHidden = false;
fListenPort = find_port(SERVER_INPUT_PORT);
if (fListenPort == B_NAME_NOT_FOUND)
return;
// Spawn our working thread
// fThreadID = spawn_thread(WorkingThread, name, B_REAL_TIME_DISPLAY_PRIORITY, this);
fThreadID = spawn_thread(WorkingThread, name, B_DISPLAY_PRIORITY, this);
fListenPort = find_port(SERVER_INPUT_PORT);
if (fListenPort == B_NAME_NOT_FOUND) {
fListenPort = -1;
return;
}
}
RootLayer::~RootLayer()