diff options
| author | Robert Pluim | 2024-06-16 14:23:37 +0200 |
|---|---|---|
| committer | Robert Pluim | 2024-06-16 14:23:37 +0200 |
| commit | 275a5582414c2f63bccce896200b4e84f1ba0d75 (patch) | |
| tree | b2f01e1b03d26f03d376ec908ad112da1ff059eb /java | |
| parent | a39f6480ea5b6d3f81db90808123cdeb54790787 (diff) | |
| download | emacs-275a5582414c2f63bccce896200b4e84f1ba0d75.tar.gz emacs-275a5582414c2f63bccce896200b4e84f1ba0d75.zip | |
Fix clipboard request on macOS for yank-media
'yank-media' makes a request with 'CLIPBOARD and 'TARGETS, which on
other platforms returns the type(s) of the current selection, but on
macOS returned the selection itself. Make it return the types instead.
This fixes (Bug#71377).
* src/nsselect.m (ns_get_local_selection): Return nil when called with
QCLIPBOARD and QTARGETS, so that 'ns_get_foreign_selection' is called to
return the type(s) of the selection.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions