aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Third2017-11-22 16:44:38 +0000
committerAlan Third2017-11-22 16:46:49 +0000
commit292c09ff6db4bba1655bbb3160e859fef59ab34b (patch)
tree58cf7044377d9373b927f70a83f8fc226fcacfae
parentd6fadb1d2632dddd52aa1c3307b62b281acbcda1 (diff)
downloademacs-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.m2
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);