Fix timestamp of special drop events

* src/xterm.c (x_dnd_send_drop): Set special event timestamp
to the timestamp of the drop instead of CurrentTime.
This commit is contained in:
Po Lu 2022-06-11 21:16:30 +08:00
parent 9ea98a68f4
commit eeec16819b

View file

@ -4127,7 +4127,7 @@ x_dnd_send_drop (struct frame *f, Window target, Time timestamp,
lval = Fcons (intern (name), lval);
lval = Fcons (QXdndSelection, lval);
ie.arg = lval;
ie.timestamp = CurrentTime;
ie.timestamp = timestamp;
XSETINT (ie.x, win_x);
XSETINT (ie.y, win_y);