]> git.eshelyaron.com Git - emacs.git/commit
Handle XDND mouse rects synchronously
authorPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 03:53:42 +0000 (11:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 03:53:42 +0000 (11:53 +0800)
commit00501e82c735d4b0928888fffc2049f8ec2d5ae6
tree5bbaad20ede8add15c6cae492330bb8e91888e20
parent97441f742e6b63d583607132f1682d050901d716
Handle XDND mouse rects synchronously

* src/xterm.c (x_dnd_send_position): Record event X and Y for
consumption by the XdndStatus handler.  Ignore mouse rects if
waiting for status.
(x_dnd_send_leave): Clear pending DND event.
(handle_one_xevent): When handling XdndStatus, check if the
pending event is contained in the new mouse rect.
src/xterm.c