bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51658: [PATCH] Haiku port (again)


From: Po Lu
Subject: bug#51658: [PATCH] Haiku port (again)
Date: Sat, 20 Nov 2021 17:34:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>>  (defun tooltip-show-help (msg)
>>    "Function installed as `show-help-function'.
>>  MSG is either a help string to display, or nil to cancel the display."
>> -  (if (display-graphic-p)
>> +  (if (and (display-graphic-p)
>> +           (or (not (eq window-system 'haiku)) ;; On Haiku, there isn't a 
>> reliable way to show tooltips
>> +                                               ;; above menus.
>> +               (not (menu-or-popup-active-p))))

> This seems to contradict what you wrote in the user manual about
> tooltip options?

This only disables tooltips on Haiku if a menu or popup is active, as
Haiku doesn't let you map windows or tooltips above them.

Here's a patch with the other issues you mentioned fixed.  Please see if
it's better, thanks.

Attachment: haiku-emacs.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]