(Fx_popup_menu): Likewise.
authorKarl Heuer <kwzh@gnu.org>
Mon, 14 Feb 1994 21:44:50 +0000 (21:44 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 14 Feb 1994 21:44:50 +0000 (21:44 +0000)
src/xmenu.c

index 8e1e8df..19bc213 100644 (file)
@@ -154,6 +154,7 @@ With this form of menu, the return value is VALUE from the chosen item.")
   widget_value *val, *vw = 0;
 #endif /* USE_X_TOOLKIT */
 
+  check_x ();
   /* Decode the first argument: find the window and the coordinates.  */
   tem = Fcar (position);
   if (XTYPE (tem) == Lisp_Cons)