From 798bc0e9cc027cb33ca0f216de59add91d5fdccb Mon Sep 17 00:00:00 2001 From: Nik Pavlov Date: Wed, 8 Mar 2023 16:58:21 +0000 Subject: [PATCH] views: mac: Show standard window buttons with frame by default (see issue #3189) This restores the previous default behavior for framed windows. --- include/views/cef_window_delegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/views/cef_window_delegate.h b/include/views/cef_window_delegate.h index e9a1b528c..90bc7dfb5 100644 --- a/include/views/cef_window_delegate.h +++ b/include/views/cef_window_delegate.h @@ -134,7 +134,7 @@ class CefWindowDelegate : public CefPanelDelegate { /// /*--cef()--*/ virtual bool WithStandardWindowButtons(CefRefPtr window) { - return false; + return !IsFrameless(window); } ///