emacs-devel
[Top][All Lists]
Advanced

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

Re: C-l while in menu?


From: Richard Stallman
Subject: Re: C-l while in menu?
Date: Thu, 9 May 2002 18:29:52 -0600 (MDT)

    What is the reason? It is simple. First, popup_activate_callback of the new
    menu is called and thus popup_activated_flag is set to 1, but after
    a moment, popup_deactivate_callback is called many times because it is
    called for all menu-items in the previous (File) menu.

That might be a bug in LessTif.  It might be correct behavior.
I don't know which.

Anyway, you can change the code to cope with it.  How about if you
change the code so it adds 1 when a menu item is activated and
substracts 1 when a menu item is deactivated?  Does it work then?

If they don't always balance out to zero, maybe it needs to keep track
of which ones have been activated and see if all of them have since
been deactivated.

If that doesn't work, then I am pretty sure it is a bug in LessTif.




reply via email to

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