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:
@@ -1683,7 +1683,7 @@ BWindow::UpdateIfNeeded()
|
|||||||
|
|
||||||
BMessage *msg;
|
BMessage *msg;
|
||||||
for (int32 i = 0; (msg = queue->FindMessage(i)) != NULL; i++) {
|
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);
|
BWindow::DispatchMessage(msg, this);
|
||||||
// we need to make sure that no overridden method is called
|
// we need to make sure that no overridden method is called
|
||||||
// here; for BWindow::DispatchMessage() we now exactly what
|
// here; for BWindow::DispatchMessage() we now exactly what
|
||||||
|
|||||||
Reference in New Issue
Block a user