diff options
author | fvogel <fvogelnew1@free.fr> | 2020-12-06 21:35:26 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-12-06 21:35:26 (GMT) |
commit | 069595d8e2610e1d5bd458622e480a5a17b491cd (patch) | |
tree | b7fa646ed64ceaae7e146804047b4e570ff296b9 /macosx | |
parent | 07c5598b3678696c9d79831f7d5b5320b36d0d0a (diff) | |
download | tk-069595d8e2610e1d5bd458622e480a5a17b491cd.zip tk-069595d8e2610e1d5bd458622e480a5a17b491cd.tar.gz tk-069595d8e2610e1d5bd458622e480a5a17b491cd.tar.bz2 |
On macOS, a mouse event shall be generated when warping the pointer. Add the missing call in TkpWarpPointer. Now test event-9 passes on the mac as well.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 6f1b7cd..9614284 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -676,6 +676,7 @@ TkpWarpPointer( } CGWarpMouseCursorPosition(pt); + TkGenerateButtonEventForXPointer(Tk_WindowId(dispPtr->warpWindow)); } /* |