diff options
author | fvogel <fvogelnew1@free.fr> | 2021-07-28 20:36:25 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-07-28 20:36:25 (GMT) |
commit | 3e5c506f07e40f3d6de0800bf3b8e05980e592d6 (patch) | |
tree | 6adc0f1f44e24e14ea91289c96d41a1a4c475d74 /macosx | |
parent | 30b0b18129f24f96204c52998314ac855d5ae7ef (diff) | |
download | tk-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.c | 2 |
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; |