git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5781 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-01-14 17:26:25 +00:00
parent 988b313435
commit f9d64d3a4a

View file

@ -921,7 +921,6 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
- (void) mouseDown: (NSEvent*)theEvent
{
NSMenu *candidateMenu;
NSMenu *masterMenu;
NSMenuView *masterMenuView;
NSPoint originalLocation;
@ -929,11 +928,6 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
menuv_keepAttachedMenus = YES;
masterMenu = menuv_menu;
while ((candidateMenu = [masterMenu supermenu]) != nil
&& ([masterMenu isTornOff] == NO || [masterMenu isFollowTransient] == YES))
{
masterMenu = candidateMenu;
}
originalLocation = [[masterMenu window] frame].origin;