No more B_MESSAGE_NOT_UNDERSTOOD on B_UNMAPPED_KEY_DOWN, B_UNMAPPED_KEY_UP, B_MODIFIERS_CHANGED events

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca 2005-04-14 18:05:54 +00:00
parent bb02230989
commit 94b849e1e2

View File

@ -818,35 +818,17 @@ void BWindow::DispatchMessage(BMessage *msg, BHandler *target)
break;
}
case B_UNMAPPED_KEY_DOWN:
{
if (fFocus)
fFocus->MessageReceived( msg );
else
BLooper::DispatchMessage(msg, target);
break;
}
case B_UNMAPPED_KEY_UP:
{
if (fFocus)
fFocus->MessageReceived( msg );
else
BLooper::DispatchMessage(msg, target);
break;
}
case B_MODIFIERS_CHANGED:
{
if (fFocus)
fFocus->MessageReceived( msg );
else
BLooper::DispatchMessage(msg, target);
break;
}
case B_MOUSE_WHEEL_CHANGED:
{
if (fFocus)
fFocus->MessageReceived( msg );
else
BLooper::DispatchMessage(msg, target);
break;
}
case B_MOUSE_DOWN: