]> git.eshelyaron.com Git - emacs.git/commit
Handle be:actions field in Haiku DND messages
authorPo Lu <luangruo@yahoo.com>
Wed, 29 Jun 2022 06:05:25 +0000 (06:05 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 29 Jun 2022 06:05:42 +0000 (06:05 +0000)
commit7fa37d7a1439bf8cd76b336ea95d3a1982b3ae03
treef5f12071448a408ecf07e61669fdd3a9f14a9b17
parent9c2b1d37e729f7af9e9661be7ece8348bae70ffa
Handle be:actions field in Haiku DND messages

* lisp/term/haiku-win.el (haiku-get-numeric-enum): New function.
(haiku-numeric-enum): New macro.
(haiku-select-encode-xstring, haiku-select-encode-utf-8-string):
Replace hard-coded numeric enumerators.
(haiku-parse-drag-actions): New function.
(haiku-drag-and-drop): Use action returned by that function.
(x-begin-drag): Replace hard-coded enumerator.
lisp/term/haiku-win.el