From: Po Lu Date: Sat, 11 Jun 2022 13:16:30 +0000 (+0800) Subject: Fix timestamp of special drop events X-Git-Tag: emacs-29.0.90~1910^2~74^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eeec16819b954dfbd101ae9925b7cc3bebf923ee;p=emacs.git 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. --- diff --git a/src/xterm.c b/src/xterm.c index 55cd5286fe1..3ca91494908 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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);