]> git.eshelyaron.com Git - emacs.git/commit
Improvements to Haiku selection handling
authorPo Lu <luangruo@yahoo.com>
Wed, 23 Mar 2022 14:15:22 +0000 (14:15 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 23 Mar 2022 14:16:15 +0000 (14:16 +0000)
commit7fa5d6c87d43926008c15a7f7ddc924bbf8d2e76
tree10291262a55f8d78e81c7e1f2d98b754cbe4cc71
parent36810a8164db12766f532f268f322afe1e601b6a
Improvements to Haiku selection handling

* lisp/term/haiku-win.el (haiku-selection-targets): Implement in Lisp.
* src/haiku_select.cc (be_get_message_type):
(be_set_message_type):
(be_get_message_message):
(be_add_message_message): New functions.

* src/haiku_support.cc (MessageReceived): Fix typo.
* src/haikuselect.c (haiku_selection_data_1)
(Fhaiku_selection_targets): Delete functions.
(haiku_message_to_lisp, lisp_to_type_code)
(haiku_lisp_to_message): Correctly decode and encode nested
messages, and fix encoding specially decoded types via numeric
names.  Also store and decode message types inside Lisp
messages.
(Fhaiku_drag_message): Update doc string.
(syms_of_haikuselect): Update subrs.
* src/haikuselect.h: Update prototypes.
lisp/term/haiku-win.el
src/haiku_select.cc
src/haiku_support.cc
src/haikuselect.c
src/haikuselect.h