]> git.eshelyaron.com Git - emacs.git/commit
Allow retrieving some more kinds of clipboard data on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 23 Mar 2022 08:17:49 +0000 (08:17 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 23 Mar 2022 08:20:14 +0000 (08:20 +0000)
commitfed9a353dbe79a7a6acc74c1e223c46e7541e627
tree83d46eebdbdaf2cd612a1ba50cb069f8a03452be
parent5f8a3ca9af70af926b284c98c3995e0743256721
Allow retrieving some more kinds of clipboard data on Haiku

* src/haiku_select.cc (BClipboard_find_data): Handle NULL
characters inside data correctly.
(be_lock_clipboard_message, be_unlock_clipboard): New functions.
* src/haikuselect.c (Fhaiku_selection_data): Return entire
clipboard contents as a message when clipboard is NULL.
(haiku_lisp_to_message): Allow quitting when iterating through
potentially large or circular lists.
* src/haikuselect.h (enum haiku_clipboard): New enum.
src/haiku_select.cc
src/haikuselect.c
src/haikuselect.h