diff options
| author | Po Lu | 2022-05-27 17:11:07 +0800 |
|---|---|---|
| committer | Po Lu | 2022-05-27 17:11:07 +0800 |
| commit | 5d2523dcd035b2ac058abc9962405422e9717ea1 (patch) | |
| tree | d8d3c2293a5c592c8f426132feea82c224eb47e9 /src | |
| parent | 01e3345b7bac8f8e79433360e3f2a6fa089c8ff7 (diff) | |
| download | emacs-5d2523dcd035b2ac058abc9962405422e9717ea1.tar.gz emacs-5d2523dcd035b2ac058abc9962405422e9717ea1.zip | |
Fix NS drag and drop on macOS
* lisp/term/ns-win.el (gui-backend-set-selection):
* src/nsselect.m (Fns_begin_drag): Fix deprecation warnings and
selection/value mixup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsselect.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsselect.m b/src/nsselect.m index f7a8933c851..a481e80d770 100644 --- a/src/nsselect.m +++ b/src/nsselect.m | |||
| @@ -656,7 +656,7 @@ target, or the drop was rejected). */) | |||
| 656 | NSDragOperation operation; | 656 | NSDragOperation operation; |
| 657 | 657 | ||
| 658 | f = decode_window_system_frame (frame); | 658 | f = decode_window_system_frame (frame); |
| 659 | pasteboard = [NSPasteboard pasteboardWithName: NSDragPboard]; | 659 | pasteboard = [NSPasteboard pasteboardWithName: NSPasteboardNameDrag]; |
| 660 | window = (EmacsWindow *) [FRAME_NS_VIEW (f) window]; | 660 | window = (EmacsWindow *) [FRAME_NS_VIEW (f) window]; |
| 661 | 661 | ||
| 662 | operation = ns_dnd_action_to_operation (action); | 662 | operation = ns_dnd_action_to_operation (action); |