diff options
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 3fd88a7ac2f..36f95d911f0 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -905,8 +905,11 @@ no quit occurs and `x-popup-menu' returns nil. */) | |||
| 905 | 905 | ||
| 906 | if (! FRAME_X_P (f)) | 906 | if (! FRAME_X_P (f)) |
| 907 | error ("Can not put X menu on non-X terminal"); | 907 | error ("Can not put X menu on non-X terminal"); |
| 908 | |||
| 909 | XSETFRAME (Vmenu_updating_frame, f); | ||
| 908 | } | 910 | } |
| 909 | Vmenu_updating_frame = Qnil; | 911 | else |
| 912 | Vmenu_updating_frame = Qnil; | ||
| 910 | #endif /* HAVE_MENUS */ | 913 | #endif /* HAVE_MENUS */ |
| 911 | 914 | ||
| 912 | record_unwind_protect (unuse_menu_items, Qnil); | 915 | record_unwind_protect (unuse_menu_items, Qnil); |