diff options
author | fvogel <fvogelnew1@free.fr> | 2016-08-23 20:51:36 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-08-23 20:51:36 (GMT) |
commit | 76052445ac39afd2c455431d80335dd464ed755e (patch) | |
tree | b60236ea829d20d4fc923903ff3953b0d4ba497f /generic/tkBind.c | |
parent | 0fbc2c33a10a40e46c9247049d602901b522c674 (diff) | |
parent | d1ffebb971d9a844511bf96c8c734b96c0b75424 (diff) | |
download | tk-76052445ac39afd2c455431d80335dd464ed755e.zip tk-76052445ac39afd2c455431d80335dd464ed755e.tar.gz tk-76052445ac39afd2c455431d80335dd464ed755e.tar.bz2 |
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen.
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r-- | generic/tkBind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index acc4e43..bb95fa9 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -3460,7 +3460,7 @@ HandleEventGenerate( Tcl_DoWhenIdle(DoWarp, dispPtr); dispPtr->flags |= TK_DISPLAY_IN_WARP; } - dispPtr->warpWindow = Tk_IdToWindow(Tk_Display(mainWin), + dispPtr->warpWindow = Tk_IdToWindow(dispPtr->display, event.general.xmotion.window); dispPtr->warpMainwin = mainWin; dispPtr->warpX = event.general.xmotion.x; |