diff options
author | fvogel <fvogel@noemail.net> | 2016-08-23 20:51:11 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2016-08-23 20:51:11 (GMT) |
commit | f300fe07826ec7e985725eb253fecaf1558a9fac (patch) | |
tree | aec1be606bf2ee04952da26410ed9a20fb350119 | |
parent | 98df48a83b3ef158c917c836788d5ba599e24da0 (diff) | |
parent | 21037edf5a2b7367ec0e549edbd7090da825d6d5 (diff) | |
download | tk-f300fe07826ec7e985725eb253fecaf1558a9fac.zip tk-f300fe07826ec7e985725eb253fecaf1558a9fac.tar.gz tk-f300fe07826ec7e985725eb253fecaf1558a9fac.tar.bz2 |
Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on secondary screen.
FossilOrigin-Name: 3fca6d549888999079777f574bad051dd8b4097e
-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; |