]> git.eshelyaron.com Git - emacs.git/commit
Implement visual bell on Haiku like on X
authorPo Lu <luangruo@yahoo.com>
Sat, 12 Feb 2022 04:42:42 +0000 (04:42 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 12 Feb 2022 04:42:42 +0000 (04:42 +0000)
commit4c6a4281a41ca2b3ab76339292aac24d8470efe5
tree7c10514e89f78744cda1d9c4b7800f761e3b6cf7
parent9de7b3f3355cec3b36dd16af66d0110240bebfb8
Implement visual bell on Haiku like on X

* src/haiku_draw_support.cc
(BView_FillRectangleForVisibleBell): Delete function.
(BView_InvertRect): New function.

* src/haiku_support.cc (class EmacsView): Delete field
`visible_bell_color' and visible bell related methods.
(EmacsView_do_visible_bell): Delete function.
* src/haiku_support.h: Update prototypes.

* src/haikuterm.c (haiku_flash): Implement using
`BView_InvertRect'.
(haiku_beep): Use `haiku_flash' instead.
src/haiku_draw_support.cc
src/haiku_support.cc
src/haiku_support.h
src/haikuterm.c