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:
@@ -904,11 +904,24 @@ BApplication::DispatchMessage(BMessage *message, BHandler *handler)
|
|||||||
case B_PULSE:
|
case B_PULSE:
|
||||||
Pulse();
|
Pulse();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// TODO: Handle these as well
|
|
||||||
|
|
||||||
case _SHOW_DRAG_HANDLES_:
|
|
||||||
case B_APP_ACTIVATED:
|
case B_APP_ACTIVATED:
|
||||||
|
{
|
||||||
|
bool active = false;
|
||||||
|
message->FindBool("active", &active);
|
||||||
|
AppActivated(active);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case _SHOW_DRAG_HANDLES_:
|
||||||
|
{
|
||||||
|
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_:
|
||||||
|
|||||||
Reference in New Issue
Block a user