diff options
author | wordtech <wordtech@noemail.net> | 2011-01-06 00:15:24 (GMT) |
---|---|---|
committer | wordtech <wordtech@noemail.net> | 2011-01-06 00:15:24 (GMT) |
commit | b60af2b36ca9761dd827877a7bbe3626b8eff26f (patch) | |
tree | 78874bebd1ba0ac0786bb123f0c6fad184e880cd /macosx/tkMacOSXWindowEvent.c | |
parent | 1048c4816e24dc8c3b57fba13c97939875161efa (diff) | |
download | tk-b60af2b36ca9761dd827877a7bbe3626b8eff26f.zip tk-b60af2b36ca9761dd827877a7bbe3626b8eff26f.tar.gz tk-b60af2b36ca9761dd827877a7bbe3626b8eff26f.tar.bz2 |
Fix for 3086887, speeds up scrolling
FossilOrigin-Name: 2c7726691fcd42ae40fcf95e298e96aec229fa38
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index b17f97b..26bd064 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXWindowEvent.c,v 1.39 2011/01/04 22:36:58 wordtech Exp $ + * RCS: @(#) $Id: tkMacOSXWindowEvent.c,v 1.40 2011/01/06 00:15:24 wordtech Exp $ */ #include "tkMacOSXPrivate.h" @@ -345,10 +345,7 @@ GenerateUpdates( return 0; } HIShapeGetBounds(damageRgn, &damageBounds); - if (!Tk_IsTopLevel(winPtr)) { - ChkErr(TkMacOSHIShapeUnion, boundsRgn, updateRgn, updateRgn); - HIShapeGetBounds(updateRgn, updateBounds); - } + CFRelease(damageRgn); CFRelease(boundsRgn); |