diff --git a/js/windowMgr.js b/js/windowMgr.js index 9c4a65c4..93498b63 100644 --- a/js/windowMgr.js +++ b/js/windowMgr.js @@ -1186,7 +1186,8 @@ function cleanUpChildWindows() { function popupMenu() { const focusedWindow = BrowserWindow.getFocusedWindow(); if (mainWindow && !mainWindow.isDestroyed() && isMainWindow(focusedWindow)) { - const popupOpts = { browserWin: mainWindow, x: 10, y: -20 }; + const { x, y } = mainWindow.isFullScreen() ? { x: 0, y: 0 } : { x: 10, y: -20 }; + const popupOpts = { browserWin: mainWindow, x, y }; getMenu().popup(popupOpts); } }