Mercurial > emacs
changeset 59911:aafd8ed9cff2
* xmenu.c (menubar_selection_callback): Force out GTK buffered
events so the menu event comes after them. This is to prevent sit-for
from exiting on buffered events directly after a menu selection,
lisp code for Help => About Emacs uses sit-for.
* gtkutil.c (create_menus): Connect selection-done event instead of
the deactivate event to deactivate_cb. This will make the last
leave event come before the call to deactivate_cb, so the leave
event does not make sit-for exit after a menu selection.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Thu, 03 Feb 2005 19:48:59 +0000 |
parents | 30a070683a90 |
children | ef2f9fc4fd42 |
files | src/ChangeLog |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Feb 03 19:42:19 2005 +0000 +++ b/src/ChangeLog Thu Feb 03 19:48:59 2005 +0000 @@ -1,3 +1,15 @@ +2005-02-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> + + * xmenu.c (menubar_selection_callback): Force out GTK buffered + events so the menu event comes after them. This is to prevent sit-for + from exiting on buffered events directly after a menu selection, + lisp code for Help => About Emacs uses sit-for. + + * gtkutil.c (create_menus): Connect selection-done event instead of + the deactivate event to deactivate_cb. This will make the last + leave event come before the call to deactivate_cb, so the leave + event does not make sit-for exit after a menu selection. + 2005-02-03 Kim F. Storm <storm@cua.dk> * dispnew.c (build_frame_matrix_from_leaf_window)