I have been experimenting with the option [popup] applied to %gr which allows a %pm menu to appear with %gr[full_mouse_input].
Clearwin_info@('POPUP_X') and clearwin_info@('POPUP_Y') return the coordinates of the right mouse click in the %gr region which initiated the popup menu. These values are screen coordinates and not the position in the %gr region.
Is there an equivalent clearwin_info@ parameter which returns the coordinates of the right mouse click in the graphics region? Or how do I find the position of the origin of the %gr region in screen coordinates?
Thanks
Ken