+2004-11-12 Kim F. Storm <storm@cua.dk>
+
+ * xmenu.c (pop_down_menu): Return nil.
+
2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xmenu.c (x_menu_wait_for_event): New function.
do_timers to popup_widget_loop.
(xmenu_show): Call XMenuActivateSetWaitFunction so that
x_menu_wait_for_event is called by XMenuActivate.
- (create_and_show_popup_menu): Pass 1 for do_timers to
+ (create_and_show_popup_menu): Pass 1 for do_timers to
popup_get_selection.
(pop_down_menu): New function.
(popup_get_selection, popup_widget_loop): Unwind protect to
return; /* Not a menu item. */
map = XVECTOR (item_properties)->contents[ITEM_PROPERTY_MAP];
-
+
if (skp->notreal)
{
/* We don't want to make a menu, just traverse the keymaps to
the dialog. Also, the lesstif/motif version crashes if there are
no buttons. */
contents = Fcons (title, Fcons (Fcons (build_string ("Ok"), Qt), Qnil));
-
+
list_of_panes (Fcons (contents, Qnil));
/* Display them in a dialog box. */
int dummy;
{
popup_activated_flag = 0;
+ return Qnil;
}
/* Loop in Xt until the menu pulldown or dialog popup has been
current_menu = 0;
popup_activated_flag = 0;
}
+ return Qnil;
}
static void
GtkRequisition req;
int disp_width = FRAME_X_DISPLAY_INFO (data->f)->width;
int disp_height = FRAME_X_DISPLAY_INFO (data->f)->height;
-
+
*x = data->x;
*y = data->y;