summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-07-28 20:36:25 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-07-28 20:36:25 (GMT)
commit3e5c506f07e40f3d6de0800bf3b8e05980e592d6 (patch)
tree6adc0f1f44e24e14ea91289c96d41a1a4c475d74 /macosx
parent30b0b18129f24f96204c52998314ac855d5ae7ef (diff)
downloadtk-3e5c506f07e40f3d6de0800bf3b8e05980e592d6.zip
tk-3e5c506f07e40f3d6de0800bf3b8e05980e592d6.tar.gz
tk-3e5c506f07e40f3d6de0800bf3b8e05980e592d6.tar.bz2
Experiment. Change macOS damage region computation.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index d5396eb..bbb9b23 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1181,7 +1181,7 @@ TkScrollWindow(
dmgRgn = HIShapeCreateMutableWithRect(&srcRect);
extraRgn = HIShapeCreateWithRect(&dstRect);
- ChkErr(HIShapeDifference, dmgRgn, extraRgn,
+ ChkErr(HIShapeUnion, dmgRgn, extraRgn,
(HIMutableShapeRef) dmgRgn);
result = HIShapeIsEmpty(dmgRgn) ? 0 : 1;