diff options
| author | Po Lu | 2022-06-11 21:16:30 +0800 |
|---|---|---|
| committer | Po Lu | 2022-06-11 21:16:51 +0800 |
| commit | eeec16819b954dfbd101ae9925b7cc3bebf923ee (patch) | |
| tree | 766fe3e5cbcebf4a43cfe7de04a0b34e447d63b6 /src | |
| parent | 9ea98a68f4325029e68eae1a2a2a948f92c9412b (diff) | |
| download | emacs-eeec16819b954dfbd101ae9925b7cc3bebf923ee.tar.gz emacs-eeec16819b954dfbd101ae9925b7cc3bebf923ee.zip | |
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, | |||
| 4127 | lval = Fcons (intern (name), lval); | 4127 | lval = Fcons (intern (name), lval); |
| 4128 | lval = Fcons (QXdndSelection, lval); | 4128 | lval = Fcons (QXdndSelection, lval); |
| 4129 | ie.arg = lval; | 4129 | ie.arg = lval; |
| 4130 | ie.timestamp = CurrentTime; | 4130 | ie.timestamp = timestamp; |
| 4131 | 4131 | ||
| 4132 | XSETINT (ie.x, win_x); | 4132 | XSETINT (ie.x, win_x); |
| 4133 | XSETINT (ie.y, win_y); | 4133 | XSETINT (ie.y, win_y); |