From: Jan Djärv Date: Thu, 3 Feb 2005 19:48:59 +0000 (+0000) Subject: * xmenu.c (menubar_selection_callback): Force out GTK buffered X-Git-Tag: ttn-vms-21-2-B4~2426 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e95095bfb71948bc9f076578e31c434aba94e8a;p=emacs.git * 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 --git a/src/ChangeLog b/src/ChangeLog index b20b6195b81..eb8bab64362 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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)