Dispatch also the B_WINDOW_ACTIVATED messages. This fixes bug #613, but

we need to check which other messages are handled by beos here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-12-05 12:12:48 +00:00
parent 956a0d199c
commit d7c343d92c

View File

@ -1683,7 +1683,7 @@ BWindow::UpdateIfNeeded()
BMessage *msg;
for (int32 i = 0; (msg = queue->FindMessage(i)) != NULL; i++) {
if (msg->what == _UPDATE_) {
if (msg->what == _UPDATE_ || msg->what == B_WINDOW_ACTIVATED) {
BWindow::DispatchMessage(msg, this);
// we need to make sure that no overridden method is called
// here; for BWindow::DispatchMessage() we now exactly what