diff options
author | fvogelnew1@free.fr <fvogel> | 2016-08-23 20:51:11 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2016-08-23 20:51:11 (GMT) |
commit | 46902ad3f6350d23ff6fcbd493e2a2827eec2037 (patch) | |
tree | aec1be606bf2ee04952da26410ed9a20fb350119 | |
parent | 5a65cd18e3076c78a2080b43c8434eed871d51ad (diff) | |
parent | 973e17fdddc2cef1e1f19fc492380f6061865cc2 (diff) | |
download | tk-46902ad3f6350d23ff6fcbd493e2a2827eec2037.zip tk-46902ad3f6350d23ff6fcbd493e2a2827eec2037.tar.gz tk-46902ad3f6350d23ff6fcbd493e2a2827eec2037.tar.bz2 |
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen.
-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; |