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 | 6878e3ae58a2c5fc20a40f184e60a7cade8b06ff (patch) | |
tree | b60236ea829d20d4fc923903ff3953b0d4ba497f | |
parent | f90957c6e709c63457fce8ea391b8b6086187a0f (diff) | |
parent | bfee1152c7fdbd81b9341af13ece52aa95a4ce1e (diff) | |
download | tk-6878e3ae58a2c5fc20a40f184e60a7cade8b06ff.zip tk-6878e3ae58a2c5fc20a40f184e60a7cade8b06ff.tar.gz tk-6878e3ae58a2c5fc20a40f184e60a7cade8b06ff.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 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; |