mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:10:47 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5781 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
182883095b
commit
5807f43c35
1 changed files with 0 additions and 6 deletions
|
@ -921,7 +921,6 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
||||||
|
|
||||||
- (void) mouseDown: (NSEvent*)theEvent
|
- (void) mouseDown: (NSEvent*)theEvent
|
||||||
{
|
{
|
||||||
NSMenu *candidateMenu;
|
|
||||||
NSMenu *masterMenu;
|
NSMenu *masterMenu;
|
||||||
NSMenuView *masterMenuView;
|
NSMenuView *masterMenuView;
|
||||||
NSPoint originalLocation;
|
NSPoint originalLocation;
|
||||||
|
@ -929,11 +928,6 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
||||||
menuv_keepAttachedMenus = YES;
|
menuv_keepAttachedMenus = YES;
|
||||||
|
|
||||||
masterMenu = menuv_menu;
|
masterMenu = menuv_menu;
|
||||||
while ((candidateMenu = [masterMenu supermenu]) != nil
|
|
||||||
&& ([masterMenu isTornOff] == NO || [masterMenu isFollowTransient] == YES))
|
|
||||||
{
|
|
||||||
masterMenu = candidateMenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
originalLocation = [[masterMenu window] frame].origin;
|
originalLocation = [[masterMenu window] frame].origin;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue