(Fx_popup_menu): If popping up at mouse position,
commit8b806a8574f8e3a292a36e73dd144b46fb4d07d2
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 8 Jan 2003 20:06:05 +0000 (8 20:06 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 8 Jan 2003 20:06:05 +0000 (8 20:06 +0000)
tree7a2aa5a4bca5130f66e32f52aff1ee7af4b2a754
parent00e3ab56664fbf759daa5a98e31976e90a8fca8e
(Fx_popup_menu): If popping up at mouse position,
call XQueryPointer to get coordinates.
(popup_get_selection): Do not set popup_activated_flag to zero,
let popup_deactivate_callback do that.  Needed for Motif.
Call x_dispatch_event instead of XtDispatchEvent.
(xmenu_show): Calculate root coordinate from frame top/left position.
src/xmenu.c