diff options
author | Po Lu <luangruo@yahoo.com> | 2022-01-18 08:15:08 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-18 08:21:42 +0000 |
commit | d556e75af80a346c8a1bfca2d0bfe6710219eef8 (patch) | |
tree | 0d1e74a6aced01b66cc3bf83044e8ba143ef63d6 /test/lisp/emacs-lisp/lisp-mode-tests.el | |
parent | c99e28207a69e6d4305be25ac420ffa664924652 (diff) | |
download | emacs-d556e75af80a346c8a1bfca2d0bfe6710219eef8.tar.gz emacs-d556e75af80a346c8a1bfca2d0bfe6710219eef8.tar.bz2 emacs-d556e75af80a346c8a1bfca2d0bfe6710219eef8.zip |
Improve tooltip implementation on Haiku
This fixes several issues: tooltips having no right internal
border, reusing tooltips occasionally freezing Emacs, and
inconsistent behaviour when compared to X.
* src/haiku_support.cc (BWindow_resize): Revert a recent change.
(BView_move_frame):
(BWindow_set_avoid_focus): Stop sync'ing when locked. This
tends to cause lockups for an unknown reason.
* src/haikufns.c (initial_setup_back_buffer): New function.
(haiku_create_frame): Remove tooltip related code.
(haiku_set_internal_border_width): Handle cases where the face
cache is NULL and/or the window has not been created.
(haiku_set_inhibit_double_buffering): Likewise.
(haiku_create_tip_frame): New function.
(Fx_create_frame): Remove tooltip specific code.
(Fx_show_tip): Synchronize code with X.
* src/haikuterm.c (haiku_new_font): Don't adjust size on tooltip
frames.
(haiku_read_socket): Draw internal border on tooltip frames
during resize.
(haiku_clear_under_internal_border): Handle cases where the face
cache is NULL.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions