emacs-devel
[Top][All Lists]
Advanced

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

Re: Menu bar items structure


From: Eli Zaretskii
Subject: Re: Menu bar items structure
Date: Thu, 17 Nov 2022 19:01:10 +0200

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: Manuel Giraud <manuel@ledu-giraud.fr>,  luangruo@yahoo.com,
>   emacs-devel@gnu.org
> Date: Thu, 17 Nov 2022 16:06:22 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> [...]
> 
> >> To overcome this issue my idea was two fold:
> >> 
> >>       1- change the semantics of this index from a char position to a
> >>          pixel position
> >>          
> >>       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?



reply via email to

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