Skip to content

Commit

Permalink
Force activating the app. Fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
branchseer committed Nov 21, 2019
1 parent 4de03e0 commit 851906e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/platform/mac/BrowserWindow.mm
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ Value getOrDefault(const std::unordered_map<Key, Value>& map, const Key& key, Va


void BrowserWindow::Show() {
[NSApp activateIgnoringOtherApps: YES];
[impl_->nsWindow makeKeyAndOrderFront: nil];
}

Expand Down

0 comments on commit 851906e

Please sign in to comment.