* lisp/term/ns-win.el (gui-backend-set-selection):
* src/nsselect.m (Fns_begin_drag): Fix deprecation warnings and
selection/value mixup.
(cl-defmethod gui-backend-set-selection (selection value &context (window-system ns))
(if (eq selection 'XdndSelection)
- (setq ns-dnd-selection-value selection)
+ (setq ns-dnd-selection-value value)
(if value (ns-own-selection-internal selection value)
(ns-disown-selection-internal selection))))
NSDragOperation operation;
f = decode_window_system_frame (frame);
- pasteboard = [NSPasteboard pasteboardWithName: NSDragPboard];
+ pasteboard = [NSPasteboard pasteboardWithName: NSPasteboardNameDrag];
window = (EmacsWindow *) [FRAME_NS_VIEW (f) window];
operation = ns_dnd_action_to_operation (action);