Mercurial > emacs
changeset 38818:b0327e4e1da7
(x_update_menu_appearance): Don't call
set_frame_menubar, let the next redisplay do it.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 15 Aug 2001 08:49:21 +0000 |
parents | c37b78f1a5db |
children | 87937c18338f |
files | src/xfaces.c |
diffstat | 1 files changed, 1 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Wed Aug 15 08:06:08 2001 +0000 +++ b/src/xfaces.c Wed Aug 15 08:49:21 2001 +0000 @@ -4468,20 +4468,7 @@ } if (changed_p && f->output_data.x->menubar_widget) - { - int blocked; - - /* Function set_frame_menubar may call Lisp, for example - from menu_item_eval_property inside a condition-case. If - that code signals an error, Fsignal totally unblocks - input, and if this function is called inside a - BLOCK/UNBLOCK_INPUT which it is, this will screw up the - interrupt_input_blocked count, unless we save it... */ - blocked = interrupt_input_blocked; - free_frame_menubar (f); - set_frame_menubar (f, 1, 1); - interrupt_input_blocked = blocked; - } + free_frame_menubar (f); } }