[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16565: 24.3.50; x-popup-menu just returns nil
From: |
Michael Heerdegen |
Subject: |
bug#16565: 24.3.50; x-popup-menu just returns nil |
Date: |
Wed, 29 Jan 2014 20:26:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Jan Djärv <jan.h.d@swipnet.se> writes:
> 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.
Generally I agree. My use case is not that trivial. I use mouse3 from
Drew, that pops up a menu after the second mouse click, but only when
it was not double click (it depends on the time between). He does that
by redefining `mouse-save-then-kill', which makes sense. So when we pop
up the menu, the up event has already happened.
> From the Gtk+ point of view, that corresponds to popping up without a
> mouse click, hence the error.
Makes sense, in general.
> I have checked in a fix in trunk.
Great. That fixes the problem in general, as well as for mouse3.
Thanks!
Regards,
Michael.
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/26
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/26
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/28
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/28
- bug#16565: 24.3.50; x-popup-menu just returns nil, Jan Djärv, 2014/01/29
- bug#16565: 24.3.50; x-popup-menu just returns nil,
Michael Heerdegen <=