From eeec16819b954dfbd101ae9925b7cc3bebf923ee Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 11 Jun 2022 21:16:30 +0800 Subject: [PATCH] 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. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2