Moved the port creation for app_server - input_server communication out of the DisplayDrivers and into the AppServer constructor. This may later needs to be moved into RootLayer if we want multiple user support.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12426 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2005-04-17 12:26:16 +00:00
parent 79e1fcbc00
commit 597c548ca3
7 changed files with 31 additions and 38 deletions
+2 -6
View File
@@ -146,12 +146,8 @@ CardView::CardView(BRect bounds)
// This link for sending mouse messages to the Haiku app_server.
// This is only to take the place of the input_server.
port_id serverInputPort = create_port(200, SERVER_INPUT_PORT);
if (serverInputPort == B_NO_MORE_PORTS) {
debugger("ViewHWInterface: out of ports\n");
return;
}
fServerLink = new BPortLink(serverInputPort);
port_id input_port = find_port(SERVER_INPUT_PORT);
fServerLink = new BPortLink(input_port);
}
CardView::~CardView()