atom/atom-shell — pull request #870 by joaomoreno (2014-11-26 14:20:10+00:00)
Title: Allow positioning the context menu

I currently can't set the position of the context menu in the viewport.

This patch adds two optional arguments `x, y` to the `Menu.popup()` method, allowing the user to specify the position of the menu, relative to the top left corner of the view.