diff options
author | fvogel <fvogelnew1@free.fr> | 2016-08-13 20:03:33 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-08-13 20:03:33 (GMT) |
commit | 53641c0fb520f426b05a61602b586bb18b15e01b (patch) | |
tree | 619b37a9bd7d9e4d46198ea94d90f9339a4958aa /generic/tkBind.c | |
parent | fc2e39dd073ce938080e7136ad9fc5806aefa20b (diff) | |
download | tk-53641c0fb520f426b05a61602b586bb18b15e01b.zip tk-53641c0fb520f426b05a61602b586bb18b15e01b.tar.gz tk-53641c0fb520f426b05a61602b586bb18b15e01b.tar.bz2 |
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screenbug_a2abc45ee6
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 3b05066..d3fdc96 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; |