# HG changeset patch # User Gerd Moellmann # Date 997865361 0 # Node ID b0327e4e1da73f517c59b33ffca407f0efcbd794 # Parent c37b78f1a5db5878b82da8ac836c0fe81e7dc86d (x_update_menu_appearance): Don't call set_frame_menubar, let the next redisplay do it. diff -r c37b78f1a5db -r b0327e4e1da7 src/xfaces.c --- 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); } }