diff options
| author | Alan Third | 2017-11-22 16:44:38 +0000 |
|---|---|---|
| committer | Alan Third | 2017-11-22 16:46:49 +0000 |
| commit | 292c09ff6db4bba1655bbb3160e859fef59ab34b (patch) | |
| tree | 58cf7044377d9373b927f70a83f8fc226fcacfae | |
| parent | d6fadb1d2632dddd52aa1c3307b62b281acbcda1 (diff) | |
| download | emacs-292c09ff6db4bba1655bbb3160e859fef59ab34b.tar.gz emacs-292c09ff6db4bba1655bbb3160e859fef59ab34b.zip | |
Fix incorrect interaction of drag/drop and double click (bug#29121)
* src/nsterm.m (EmacsView::performDragOperation): Drag and drop
doesn't use ns-input-file.
| -rw-r--r-- | src/nsterm.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index cf32a5e8015..59a42eed887 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -8129,8 +8129,6 @@ not_in_argv (NSString *arg) | |||
| 8129 | emacs_event->kind = DRAG_N_DROP_EVENT; | 8129 | emacs_event->kind = DRAG_N_DROP_EVENT; |
| 8130 | XSETINT (emacs_event->x, x); | 8130 | XSETINT (emacs_event->x, x); |
| 8131 | XSETINT (emacs_event->y, y); | 8131 | XSETINT (emacs_event->y, y); |
| 8132 | ns_input_file = append2 (ns_input_file, | ||
| 8133 | build_string ([file UTF8String])); | ||
| 8134 | emacs_event->modifiers = modifiers; | 8132 | emacs_event->modifiers = modifiers; |
| 8135 | emacs_event->arg = list2 (Qfile, build_string ([file UTF8String])); | 8133 | emacs_event->arg = list2 (Qfile, build_string ([file UTF8String])); |
| 8136 | EV_TRAILER (theEvent); | 8134 | EV_TRAILER (theEvent); |