]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_update_menu_appearance): Don't call
authorGerd Moellmann <gerd@gnu.org>
Wed, 15 Aug 2001 08:49:21 +0000 (08:49 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 15 Aug 2001 08:49:21 +0000 (08:49 +0000)
set_frame_menubar, let the next redisplay do it.

src/xfaces.c

index e2ddb40244c4ebcd4554c347b3324fb52ca2791d..e0287a87609c1fe881c6255e10951c14afffd2bf 100644 (file)
@@ -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);
     }
 }