mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:01:13 +00:00
Patch by Martin Man <Martin.Man@seznam.cz>
* Source/NSWindow.m ([NSWindow -setFrameTopLeftPoint:]): Corrected positioning of window's top left point. X coordinate was ignored and Y coordinate was computed in wrong way. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4770 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
579b55fee0
commit
2dc0ccead9
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Aug 25 09:42:05 1999 Martin Man <Martin.Man@seznam.cz>
|
||||
|
||||
* Source/NSWindow.m ([NSWindow -setFrameTopLeftPoint:]): Corrected
|
||||
positioning of window's top left point. X coordinate was ignored
|
||||
and Y coordinate was computed in wrong way.
|
||||
|
||||
Thu Aug 26 5:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
Patch from Niico Pero <n.pero@mi.flashnet.it> modified to use
|
||||
|
|
|
@ -722,7 +722,8 @@ static NSRecursiveLock *windowsLock;
|
|||
{
|
||||
NSRect r = frame;
|
||||
|
||||
r.origin.y = aPoint.y + frame.size.height;
|
||||
r.origin = aPoint;
|
||||
r.origin.y -= frame.size.height;
|
||||
[self setFrame: r display: YES];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue