]> git.eshelyaron.com Git - emacs.git/commit
Use XI2 calls to warp the client pointer
authorPo Lu <luangruo@yahoo.com>
Wed, 22 Dec 2021 03:13:23 +0000 (11:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 22 Dec 2021 03:13:23 +0000 (11:13 +0800)
commitf703232b7ff3453640179c6c1e9415e9ff1af987
tree921c0719be58945e03d8767770ef0830952ed3c7
parent026804b60631d4766bb99bf94a4ad04e13ae0d07
Use XI2 calls to warp the client pointer

* src/xfns.c (Fx_set_mouse_absolute_pixel_position):
* src/xterm.c (frame_set_mouse_pixel_position): Replace
calls to XWarpPointer with calls to XIWarpPointer with
the client pointer explictly specified.  This avoids the
odd situation where the client pointer of the root window
is not the client pointer of the frame.
src/xfns.c
src/xterm.c