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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user