From 938ad6ebc037ebb32b41619a31b15f8ade712867 Mon Sep 17 00:00:00 2001 From: Akemi Date: Fri, 16 Feb 2018 13:07:15 +0100 Subject: cocoa-cb: change border and borderless window styling the title bar is now within the window bounds instead of outside. same as QuickTime Player. it supports several standard styles, two dark and two light ones. additionally we have properly rounded corners now and the borderless window also has the proper window shadow. Also make the earliest supported macOS version 10.10. Fixes #4789, #3944 --- options/options.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 2f4116299d..878f7be12f 100644 --- a/options/options.c +++ b/options/options.c @@ -87,6 +87,7 @@ extern const struct m_sub_options d3d11_conf; extern const struct m_sub_options d3d11va_conf; extern const struct m_sub_options angle_conf; extern const struct m_sub_options cocoa_conf; +extern const struct m_sub_options macos_conf; extern const struct m_sub_options android_conf; static const struct m_sub_options screenshot_conf = { @@ -735,6 +736,10 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", cocoa_opts, cocoa_conf, 0), #endif +#if HAVE_MACOS_COCOA_CB + OPT_SUBSTRUCT("", macos_opts, macos_conf, 0), +#endif + #if HAVE_ANDROID OPT_SUBSTRUCT("", android_opts, android_conf, 0), #endif -- cgit v1.2.3