views: mac: Show standard window buttons with frame by default (see issue #3189)

This restores the previous default behavior for framed windows.
This commit is contained in:
Nik Pavlov 2023-03-08 16:58:21 +00:00 committed by Marshall Greenblatt
parent 12c88501fd
commit 798bc0e9cc
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class CefWindowDelegate : public CefPanelDelegate {
/// ///
/*--cef()--*/ /*--cef()--*/
virtual bool WithStandardWindowButtons(CefRefPtr<CefWindow> window) { virtual bool WithStandardWindowButtons(CefRefPtr<CefWindow> window) {
return false; return !IsFrameless(window);
} }
/// ///