summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorwordtech <wordtech>2011-01-06 00:15:24 (GMT)
committerwordtech <wordtech>2011-01-06 00:15:24 (GMT)
commit2e8bf0670b941c095a40ed4d105ee7470ae806d3 (patch)
tree78874bebd1ba0ac0786bb123f0c6fad184e880cd /macosx
parent6ce7b43167de73e24aa362356d24fe513a18bd50 (diff)
downloadtk-2e8bf0670b941c095a40ed4d105ee7470ae806d3.zip
tk-2e8bf0670b941c095a40ed4d105ee7470ae806d3.tar.gz
tk-2e8bf0670b941c095a40ed4d105ee7470ae806d3.tar.bz2
Fix for 3086887, speeds up scrolling
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXWindowEvent.c7
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);