Skip to content

Commit

Permalink
Fix: MacOS builtin menu can not switch according to the focused Windo…
Browse files Browse the repository at this point in the history
…w #7366

Fix nwjs/nw.js#7366
  • Loading branch information
rogerwang committed Feb 10, 2020
1 parent 6b6374e commit 9c74511
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ const Extension* ExtensionAppShimHandler::MaybeGetAppExtension(
const Extension* ExtensionAppShimHandler::MaybeGetAppForBrowser(
Browser* browser) {
if (!browser || !browser->deprecated_is_app())
if (!browser->is_type_popup())
return NULL;

return MaybeGetAppExtension(
Expand Down

0 comments on commit 9c74511

Please sign in to comment.