[Top][All Lists]

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

Re: Menu bar items structure

From: Manuel Giraud
Subject: Re: Menu bar items structure
Date: Fri, 18 Nov 2022 08:48:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:


>> >>       2- add a fifth element to a menu item that records the end
>> >>          position of a menu entry (also in pixel and filled in
>> >>          display_menu_bar)
>> >
>> > The first alternative is better, IMO: on TTY frames each character is
>> > 1 pixel, so the change doesn't affect TTY menus.
>> I was not clear.  My patch does the two points.
> Why do you need the second one?

It seems more natural because in display_menu_bar I have all the
information I needed handy (as we have just filled the menu bar).  But
anyway, I now going to ignore this second index and use x_y_to_hpos_vpos
as Po Lu suggested.  Thanks.
Manuel Giraud

reply via email to

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