From 143e4fbc3ec045c2fa9d80d5304e27abec3e0f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 18 Nov 2009 17:14:58 +0000 Subject: [PATCH] * 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 --- src/apps/deskbar/ExpandoMenuBar.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/apps/deskbar/ExpandoMenuBar.cpp b/src/apps/deskbar/ExpandoMenuBar.cpp index 544c122e32..3a4263dd6f 100644 --- a/src/apps/deskbar/ExpandoMenuBar.cpp +++ b/src/apps/deskbar/ExpandoMenuBar.cpp @@ -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