* Only activate the app on double click; don't bring all windows to front.
* This closes ticket #4969. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34117 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a76b231c98
commit
143e4fbc3e
@ -331,10 +331,8 @@ TExpandoMenuBar::MouseDown(BPoint where)
|
||||
if (message != NULL && message->FindInt32("clicks", &clicks) == B_OK
|
||||
&& clicks > 1) {
|
||||
if (item == menuItem && item == fLastClickItem) {
|
||||
// bring this team's window to the front
|
||||
BMessage showMessage(kBringTeamToFront);
|
||||
showMessage.AddInt32("itemIndex", IndexOf(item));
|
||||
Window()->PostMessage(&showMessage, this);
|
||||
// activate this team
|
||||
be_roster->ActivateApp((team_id)item->Teams()->ItemAt(0));
|
||||
return;
|
||||
}
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user