summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-15 22:01:02 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-15 22:01:02 (GMT)
commit32a7d700a16f886e7d863c0189979b4c89837001 (patch)
tree082a845f08c52883837231c0590f487d393252c9
parent6a0d791579f271fd69868f377393a2e02ab5e82d (diff)
downloadtk-bug_fab5fed65e.zip
tk-bug_fab5fed65e.tar.gz
tk-bug_fab5fed65e.tar.bz2
Partially fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and indices in tk_textRedraw). This commit fixes the 'borders' part of the bug report.bug_fab5fed65e
-rw-r--r--macosx/tkMacOSXWindowEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c
index a669a8a..4672586 100644
--- a/macosx/tkMacOSXWindowEvent.c
+++ b/macosx/tkMacOSXWindowEvent.c
@@ -357,8 +357,8 @@ GenerateUpdates(
event.xany.window = Tk_WindowId(winPtr);
event.xany.display = Tk_Display(winPtr);
event.type = Expose;
- event.xexpose.x = damageBounds.origin.x - bounds.origin.x;
- event.xexpose.y = damageBounds.origin.y - bounds.origin.y;
+ event.xexpose.x = damageBounds.origin.x;
+ event.xexpose.y = damageBounds.origin.y;
event.xexpose.width = damageBounds.size.width;
event.xexpose.height = damageBounds.size.height;
event.xexpose.count = 0;