]> git.eshelyaron.com Git - emacs.git/commit
Implement `return-frame' for DND on NS
authorPo Lu <luangruo@yahoo.com>
Tue, 31 May 2022 10:05:41 +0000 (18:05 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 31 May 2022 10:05:41 +0000 (18:05 +0800)
commit20218353262dc38d82adb945a6a38d6e629c1417
tree4fae76e48700b616f9a2b43425e85f8799a5351d
parent7263b10efbfd2f0478e521173e9d657e080e5cff
Implement `return-frame' for DND on NS

* src/nsselect.m (Fns_begin_drag): New argument `return-frame'.
(syms_of_nsselect): New defsym.
* src/nsterm.h (EmacsWindow): New fields.
* src/nsterm.m (ns_read_socket): Split parts off to
ns_read_socket_1.
(ns_read_socket_1): New function.
(ns_flush_display): Use that function instead.

([EmacsWindow beginDrag:forPasteboard:]): Update for
return-frame.
src/nsselect.m
src/nsterm.h
src/nsterm.m