Remove DOUBLECLICKBRINGSTOFRONT macro

The code that used it has already been removed and if it were
enabled it would do bad things.
This commit is contained in:
John Scipione
2013-05-28 18:08:54 -04:00
parent d0f798c8d2
commit c0d45b53ed
2 changed files with 0 additions and 8 deletions
-6
View File
@@ -713,15 +713,9 @@ TExpandoMenuBar::RemoveTeam(team_id team, bool partial)
if (TTeamMenuItem* item = dynamic_cast<TTeamMenuItem*>(ItemAt(i))) {
if (item->Teams()->HasItem((void*)(addr_t)team)) {
item->Teams()->RemoveItem(team);
if (partial)
return;
#ifdef DOUBLECLICKBRINGSTOFRONT
if (fLastClickedItem == i)
fLastClickedItem = -1;
#endif
BAutolock locker(sMonLocker);
// make the update thread wait
RemoveItem(i);
-2
View File
@@ -45,8 +45,6 @@ All rights reserved.
#include <Locker.h>
//#define DOUBLECLICKBRINGSTOFRONT
enum drag_and_drop_selection {
kNoSelection,
kDeskbarMenuSelection,