From ac17f0bf879a510158017f1b611894e409af5593 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 15 Aug 2001 08:49:21 +0000 Subject: [PATCH] (x_update_menu_appearance): Don't call set_frame_menubar, let the next redisplay do it. --- src/xfaces.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index e2ddb40244..e0287a8760 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4468,20 +4468,7 @@ x_update_menu_appearance (f) } 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); } } -- 2.20.1