diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-29 16:08:12 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-29 16:08:12 (GMT) |
commit | 5f9bf4fde729afc768b4c4b30fa778dc6f637605 (patch) | |
tree | 7dae4b8708bb19be78dd5daaafe941d7d5b6128b /macosx/tkMacOSXWindowEvent.c | |
parent | 5be70aeb76c7c6ba94c9288632ddf1c094108f0e (diff) | |
parent | bc6a00f386a42a918f7ea3907a7899419680c3d4 (diff) | |
download | tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.zip tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.gz tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.bz2 |
Merge core-8-6-branch
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 4 |
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; |