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:
@@ -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);
|
||||
|
||||
@@ -45,8 +45,6 @@ All rights reserved.
|
||||
#include <Locker.h>
|
||||
|
||||
|
||||
//#define DOUBLECLICKBRINGSTOFRONT
|
||||
|
||||
enum drag_and_drop_selection {
|
||||
kNoSelection,
|
||||
kDeskbarMenuSelection,
|
||||
|
||||
Reference in New Issue
Block a user