]> git.eshelyaron.com Git - emacs.git/commit
Fix `gui-backend-selection-owner-p' on Haiku
authorPo Lu <luangruo@yahoo.com>
Mon, 23 May 2022 01:57:19 +0000 (01:57 +0000)
committerPo Lu <luangruo@yahoo.com>
Mon, 23 May 2022 01:57:19 +0000 (01:57 +0000)
commit7a709b36ef1a2b184fd1b3e2f1ddf2b98b6f3bcc
tree8b4d2bb1626a26985c40a7e6c6fbf76d7e0c4b2c
parent42e48f788ac6c7934466fe75b19644045594e5dd
Fix `gui-backend-selection-owner-p' on Haiku

* src/haiku_select.cc (be_update_clipboard_count): New function.
(be_set_clipboard_data): Update clipboard counts.
(BClipboard_owns_clipboard, clipboard_owner_p)
(BClipboard_owns_primary, primary_owner_p)
(BClipboard_owns_secondary, secondary_owner_p): Rename functions
somewhat.
(be_clipboard_owner_p): New function.
* src/haikuselect.c (Fhaiku_selection_put)
(Fhaiku_selection_owner_p): Update selection counts as well.
* src/haikuselect.h: Update prototypes.
src/haiku_select.cc
src/haikuselect.c
src/haikuselect.h