Skip to content

Commit

Permalink
Update specs/WindowControlsOverlayConfiguration.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Risney <[email protected]>
  • Loading branch information
tochukwuIbeEkeocha and david-risney authored Nov 1, 2024
1 parent 8ff7c9e commit 2f02f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/WindowControlsOverlayConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void AppWindow::OnCreateWebview2ControllerCompleted(HRESULT hr, ICoreWebview2Co
wil::com_ptr<ICoreWebView2Controller5> controller5;
CHECK_FAILURE(controller->QueryInterface(&controller5));

wil::com_ptr<ICoreWebView2WindowControlsOverlaySettings> wco_config;
wil::com_ptr<ICoreWebView2WindowControlsOverlaySettings> windowControlsOverlaySettings;
CHECK_FAILURE(controller5->get_WindowControlsOverlaySettings(&wco_config));

wco_config->put_IsEnabled(true);
Expand Down

0 comments on commit 2f02f47

Please sign in to comment.