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.
This commit is contained in:
Alan Third 2017-11-22 16:44:38 +00:00
parent d6fadb1d26
commit 292c09ff6d

View file

@ -8129,8 +8129,6 @@ -(BOOL)performDragOperation: (id <NSDraggingInfo>) sender
emacs_event->kind = DRAG_N_DROP_EVENT;
XSETINT (emacs_event->x, x);
XSETINT (emacs_event->y, y);
ns_input_file = append2 (ns_input_file,
build_string ([file UTF8String]));
emacs_event->modifiers = modifiers;
emacs_event->arg = list2 (Qfile, build_string ([file UTF8String]));
EV_TRAILER (theEvent);