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 d509d5833d
commit 06af9c85da

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);
} }
/// ///