emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master eeec16819b: Fix timestamp of special drop events


From: Po Lu
Subject: master eeec16819b: Fix timestamp of special drop events
Date: Sat, 11 Jun 2022 09:17:12 -0400 (EDT)

branch: master
commit eeec16819b954dfbd101ae9925b7cc3bebf923ee
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 55cd5286fe..3ca9149490 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]