Skip to content

Commit

Permalink
views: mac: Show standard window buttons with frame by default (see i…
Browse files Browse the repository at this point in the history
…ssue chromiumembedded#3189)

This restores the previous default behavior for framed windows.
  • Loading branch information
nik-sp authored and magreenblatt committed Mar 8, 2023
1 parent f6de034 commit 870da30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/views/cef_window_delegate.h
Expand Up @@ -134,7 +134,7 @@ class CefWindowDelegate : public CefPanelDelegate {
///
/*--cef()--*/
virtual bool WithStandardWindowButtons(CefRefPtr<CefWindow> window) {
return false;
return !IsFrameless(window);
}

///
Expand Down

0 comments on commit 870da30

Please sign in to comment.