aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c
index a523cfc6010..e0f226562f8 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1529,6 +1529,11 @@ for instance using the window manager, then this produces a quit and
1529 but I don't want to make one now. */ 1529 but I don't want to make one now. */
1530 CHECK_WINDOW (window); 1530 CHECK_WINDOW (window);
1531 1531
1532 /* Note that xw_popup_dialog can call menu code, so
1533 Vmenu_updating_frame should be set (Bug#17891). */
1534 eassert (f && FRAME_LIVE_P (f));
1535 XSETFRAME (Vmenu_updating_frame, f);
1536
1532 /* Force a redisplay before showing the dialog. If a frame is created 1537 /* Force a redisplay before showing the dialog. If a frame is created
1533 just before showing the dialog, its contents may not have been fully 1538 just before showing the dialog, its contents may not have been fully
1534 drawn, as this depends on timing of events from the X server. Redisplay 1539 drawn, as this depends on timing of events from the X server. Redisplay