+2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xlwmenuP.h (_XlwMenu_part): Added top_depth.
+
+ * xlwmenu.h: Removed declaration of pop_up_menu
+
+ * xlwmenu.c (Start): Get correct time if time in event is CurrentTime.
+ (find_first_selectable, find_next_selectable)
+ (find_prev_selectable): Add parameter skip_no_call_data to skip
+ over items with no call data (popup menu titles).
+ (Down, Up): Compare old_depth to top_depth instead of 2.
+ Pass True to find_*_selectable:s new parameter if this is a popup menu.
+ (Left, Right): Compare old_depth to top_depth instead of 2.
+ Pass 0 to find_*_selectable:s new parameter.
+ (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for
+ menu bar menus, to enable keyboard traversal of popups.
+
+ * lwlib-Xm.c (dialog_key_cb): New function.
+ (make_dialog): Add event handlers to dialog_key_cb for key press
+ so we can pop down on ESC.
+
+ * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with
+ XtCallActionProc ("start"). Use a full XEvent since "start" copies it.
+
+ * lwlib-Xaw.c (make_dialog): Add override so dialog pops down
+ on ESC.
+ (wm_delete_window): If widget isn't a shell, use the parent.
+