removed input_server signature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9448 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e98e8b43c0
commit
9e7f8b786d
@ -115,7 +115,7 @@ MethodReplicant::AttachedToWindow()
|
|||||||
BMessage msg(IS_METHOD_REGISTER);
|
BMessage msg(IS_METHOD_REGISTER);
|
||||||
msg.AddMessenger("address", messenger);
|
msg.AddMessenger("address", messenger);
|
||||||
|
|
||||||
BMessenger inputMessenger("application/x-vnd.Be-input_server");
|
BMessenger inputMessenger(fSignature);
|
||||||
BMessage reply;
|
BMessage reply;
|
||||||
if (inputMessenger.SendMessage(&msg, &reply)!=B_OK) {
|
if (inputMessenger.SendMessage(&msg, &reply)!=B_OK) {
|
||||||
printf("error when contacting input_server\n");
|
printf("error when contacting input_server\n");
|
||||||
@ -190,7 +190,7 @@ MethodReplicant::MouseDown(BPoint point)
|
|||||||
if (item) {
|
if (item) {
|
||||||
BMessage msg(IS_SET_METHOD);
|
BMessage msg(IS_SET_METHOD);
|
||||||
msg.AddInt32("cookie", item->Cookie());
|
msg.AddInt32("cookie", item->Cookie());
|
||||||
BMessenger messenger("application/x-vnd.Be-input_server");
|
BMessenger messenger(fSignature);
|
||||||
messenger.SendMessage(&msg);
|
messenger.SendMessage(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user