diff options
| author | Po Lu <luangruo@yahoo.com> | 2022-06-11 21:16:30 +0800 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2022-06-11 21:16:51 +0800 |
| commit | eeec16819b954dfbd101ae9925b7cc3bebf923ee (patch) | |
| tree | 766fe3e5cbcebf4a43cfe7de04a0b34e447d63b6 /src | |
| parent | 9ea98a68f4325029e68eae1a2a2a948f92c9412b (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
