mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice
This commit is contained in:
parent
efc38b2eca
commit
c44fd52108
@ -916,6 +916,8 @@ BrowserElementChild.prototype = {
|
||||
// Pass along the position where the context menu should be located
|
||||
menuData.clientX = e.clientX;
|
||||
menuData.clientY = e.clientY;
|
||||
menuData.screenX = e.screenX;
|
||||
menuData.screenY = e.screenY;
|
||||
|
||||
// The value returned by the contextmenu sync call is true if the embedder
|
||||
// called preventDefault() on its contextmenu event.
|
||||
|
Loading…
Reference in New Issue
Block a user