mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +00:00
Various minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3929 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7173823879
commit
2d554ab9d7
6 changed files with 64 additions and 81 deletions
|
@ -132,8 +132,10 @@
|
|||
NSPoint destPoint = intersection.origin;
|
||||
float dx = newBounds.origin.x - originalBounds.origin.x;
|
||||
float dy = newBounds.origin.y - originalBounds.origin.y;
|
||||
|
||||
destPoint.x -= dx;
|
||||
destPoint.y -= dy;
|
||||
[window update]; // Make sure display is up to date.
|
||||
[self lockFocus];
|
||||
NSCopyBits(0, intersection, destPoint);
|
||||
[self unlockFocus];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue