* Source/NSMenuView.m: Removed adjustment to Y coords in the

setWindowFrame... method.  This adjustment is only supposed to be
	done when a popup is under "restrictive screen conditions" which
	is currently unimplemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28191 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-04-10 05:33:14 +00:00
parent f5a5223ac1
commit cf119063e9
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2009-04-10 01:32-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMenuView.m: Removed adjustment to Y coords in the
setWindowFrame... method. This adjustment is only supposed to be
done when a popup is under "restrictive screen conditions" which
is currently unimplemented.
2009-04-10 01:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMenuView.m: In the method

View file

@ -1162,6 +1162,7 @@ static NSMapTable *viewInfo = 0;
if ([[_attachedMenu _owningPopUp] pullsDown])
{
// Handle the Y edge...
/*
if ([[[_attachedMenu _owningPopUp] controlView] isFlipped])
{
if (edge == NSMaxYEdge)
@ -1176,6 +1177,7 @@ static NSMapTable *viewInfo = 0;
screenFrame.origin.y += screenRect.size.height;
}
}
*/
// Handle the X edge...
if (edge == NSMaxXEdge)