Implemented handler for B_APP_ACTIVATED and (but not really) for _SHOW_DRAG_HANDLES_

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-02-28 16:27:49 +00:00
parent 2f4be4bfc4
commit f8411ab138
+15 -2
View File
@@ -905,10 +905,23 @@ BApplication::DispatchMessage(BMessage *message, BHandler *handler)
Pulse(); Pulse();
break; break;
// TODO: Handle these as well case B_APP_ACTIVATED:
{
bool active = false;
message->FindBool("active", &active);
AppActivated(active);
break;
}
case _SHOW_DRAG_HANDLES_: case _SHOW_DRAG_HANDLES_:
case B_APP_ACTIVATED: {
bool visible = false;
message->FindBool("visible", &visible);
// TODO: Call the registrar or whoever is responsible for this
break;
}
// TODO: Handle these as well
// These two are handled by BTextView classes, so // These two are handled by BTextView classes, so
// BApplication probably forwards these messages to them. // BApplication probably forwards these messages to them.
case _DISPOSE_DRAG_: case _DISPOSE_DRAG_: