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
1 changed files with 1 additions and 1 deletions

View File

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