# HG changeset patch # User Jan Dj¸«£rv # Date 1107460139 0 # Node ID aafd8ed9cff24327329b1321ae9e845348d76ad7 # Parent 30a070683a9079b2c1b8890291f98a638773ae90 * 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. diff -r 30a070683a90 -r aafd8ed9cff2 src/ChangeLog --- 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 + + * 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 * dispnew.c (build_frame_matrix_from_leaf_window)