mirror of
https://github.com/electron/electron.git
synced 2026-02-05 04:35:12 -05:00
If an app has no menu bar (because `app.dock.hide()` has been called), OS X will still render the menu bar of the previously-focused app. This commit ensures simpleFullscreen windows will be drawn on top of that menu bar by setting their level to NSPopUpMenuWindowLevel while simpleFullscreen mode is active. Ref: https://github.com/electron/electron/issues/11468