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

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

bug#16565: 24.3.50; x-popup-menu just returns nil


From: Jan Djärv
Subject: bug#16565: 24.3.50; x-popup-menu just returns nil
Date: Wed, 29 Jan 2014 09:27:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hello.

2014-01-28 17:31, Eli Zaretskii skrev:
From: Michael Heerdegen <address@hidden>

I continued debugging xmenu_show and found that after the call to
`create_and_show_popup_menu', `menu_item_selection' is only != 0 in the
good case.

Perhaps Jan could help us out, then.  Jan, it sounds like GTK doesn't
like what we do with the menu, for some reason.


The Gtk+ assumtion is that popup is done on key down, not key up, i.e.:

(global-set-key
 [(meta control down mouse-3)] ;just some free key
 #'foo)

It is very strange to popup a menu on key up. From the Gtk+ point of view, that corresponds to popping up without a mouse click, hence the error. I have checked in a fix in trunk.

        Jan D.






reply via email to

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