summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-29 16:08:12 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-29 16:08:12 (GMT)
commit5f9bf4fde729afc768b4c4b30fa778dc6f637605 (patch)
tree7dae4b8708bb19be78dd5daaafe941d7d5b6128b /macosx/tkMacOSXDraw.c
parent5be70aeb76c7c6ba94c9288632ddf1c094108f0e (diff)
parentbc6a00f386a42a918f7ea3907a7899419680c3d4 (diff)
downloadtk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.zip
tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.gz
tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.bz2
Merge core-8-6-branch
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 474ed41..5ca8bfe 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1527,12 +1527,6 @@ TkScrollWindow(
srcRect = CGRectMake(x, y, width, height);
dstRect = CGRectOffset(srcRect, dx, dy);
- /* Expand the rectangles slightly to avoid degeneracies. */
- srcRect.origin.y -= 1;
- srcRect.size.height += 2;
- dstRect.origin.y += 1;
- dstRect.size.height -= 2;
-
/* Compute the damage. */
dmgRgn = HIShapeCreateMutableWithRect(&srcRect);
extraRgn = HIShapeCreateWithRect(&dstRect);
@@ -1571,9 +1565,6 @@ TkScrollWindow(
int oldMode = Tcl_SetServiceMode(TCL_SERVICE_NONE);
[view generateExposeEvents:dmgRgn childrenOnly:1];
Tcl_SetServiceMode(oldMode);
-
- /* Belt and suspenders: make the AppKit request a redraw
- when it gets control again. */
}
} else {
dmgRgn = HIShapeCreateEmpty();