]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix timestamp of special drop events
authorPo Lu <luangruo@yahoo.com>
Sat, 11 Jun 2022 13:16:30 +0000 (21:16 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 11 Jun 2022 13:16:51 +0000 (21:16 +0800)
* src/xterm.c (x_dnd_send_drop): Set special event timestamp
to the timestamp of the drop instead of CurrentTime.

src/xterm.c

index 55cd5286fe16108e7d68c7f9ce415ec1cbd3d80f..3ca914949086380b2b87081d1cda30e246f60164 100644 (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);