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:
richard 1999-03-16 16:38:26 +00:00
parent 7173823879
commit 2d554ab9d7
6 changed files with 64 additions and 81 deletions

View file

@ -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];