mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:00:48 +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
27c825f7c3
commit
001bccf827
2 changed files with 8 additions and 1 deletions
|
@ -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