[vlc-commits] macosx: enable native fullscreen by default on mavericks
David Fuhrmann
git at videolan.org
Sat Oct 26 17:44:49 CEST 2013
vlc/vlc-2.1 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Oct 26 16:51:30 2013 +0200| [e61df7708b48c55980539f7f7870076bcd2feef7] | committer: David Fuhrmann
macosx: enable native fullscreen by default on mavericks
This has the best integration and works without visual glitches around
the menu bar, with multiple monitors.
(cherry picked from commit 72b60566a25ca24cb4cf54d394a8275bee5cc9e8)
Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=e61df7708b48c55980539f7f7870076bcd2feef7
---
modules/gui/macosx/macosx.m | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/macosx.m b/modules/gui/macosx/macosx.m
index ddd83b3..0e3efd6 100644
--- a/modules/gui/macosx/macosx.m
+++ b/modules/gui/macosx/macosx.m
@@ -36,6 +36,8 @@
#include <vlc_plugin.h>
#include <vlc_vout_window.h>
+#include "CompatibilityFixes.h"
+
/*****************************************************************************
* External prototypes
*****************************************************************************/
@@ -139,9 +141,11 @@ vlc_module_begin()
set_subcategory(SUBCAT_INTERFACE_MAIN)
cannot_unload_broken_library()
+ BOOL b_have_mavericks = OSX_REDACTED;
+
set_section(N_("Appearance"), 0)
add_bool("macosx-interfacestyle", false, INTERFACE_STYLE_TEXT, INTERFACE_STYLE_LONGTEXT, false)
- add_bool("macosx-nativefullscreenmode", false, NATIVE_FULLSCREEN_MODE_ON_LION_TEXT, NATIVE_FULLSCREEN_MODE_ON_LION_LONGTEXT, false)
+ add_bool("macosx-nativefullscreenmode", b_have_mavericks, NATIVE_FULLSCREEN_MODE_ON_LION_TEXT, NATIVE_FULLSCREEN_MODE_ON_LION_LONGTEXT, false)
add_bool("macosx-icon-change", true, ICONCHANGE_TEXT, ICONCHANGE_LONGTEXT, true)
add_bool("macosx-show-playback-buttons", false, JUMPBUTTONS_TEXT, JUMPBUTTONS_LONGTEXT, false)
add_bool("macosx-show-playmode-buttons", false, PLAYMODEBUTTONS_TEXT, PLAYMODEBUTTONS_LONGTEXT, false)
More information about the vlc-commits
mailing list