[APPROVE COMMIT 21.4-windows]
So it turns out the reason this didn't work is that mswindows can't really
honor popup-up-p in a way that is usuable in functions like this. However,
not setting popup-up-p is also bad for dialogs, so this patch should also
fix the problem with multiple dialogs appearing at the same time.
This is the last showstopper for 21.4.6 windows so I expect to put out the
release soon (the other showstopper was actually a cygwin bug). Especially
as I am almost out of time - I have a week before I am without reasonable
net access for a month.
andy
2001-12-11 Andy Piper <andy(a)xemacs.org>
* menubar.el (get-popup-menu-response): re-order so that it works
on more sane/facist window systems.
2001-12-11 Andy Piper <andy(a)xemacs.org>
* dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
* dialog-msw.c (mswindows_make_dialog_box_internal): set
popup_up_p.
* menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
* menubar-msw.c (mswindows_handle_wm_command): ditto.
* menubar-msw.c (mswindows_popup_menu): ditto.