Fixed the auto-raise "menus don't work anymore" bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21960 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -137,6 +137,10 @@ TBarWindow::MenusBeginning()
|
||||
sBeMenu->NeedsToRebuild();
|
||||
sBeMenu->ResetTargets();
|
||||
|
||||
fBarView->SetEventMask(0);
|
||||
// This works around a BeOS bug - the menu is quit with every
|
||||
// B_MOUSE_DOWN the window receives...
|
||||
|
||||
BWindow::MenusBeginning();
|
||||
}
|
||||
|
||||
@@ -151,6 +155,8 @@ TBarWindow::MenusEnded()
|
||||
sBeMenu->RemoveItems(0, sBeMenu->CountItems(), true);
|
||||
sBeMenu->UnlockLooper();
|
||||
}
|
||||
|
||||
fBarView->UpdateAutoRaise();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user