[vlc-commits] macosx: fix minimizability of dark style Window

Marvin Scholz git at videolan.org
Mon Jan 8 23:34:24 CET 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jan  8 23:33:30 2018 +0100| [bc404d17917b25ac378c7c840c72c683d81ce361] | committer: Marvin Scholz

macosx: fix minimizability of dark style Window

Fix #19416

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc404d17917b25ac378c7c840c72c683d81ce361
---

 modules/gui/macosx/Windows.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 08b30b4b41..ff89188c8c 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -234,7 +234,7 @@
     _darkInterface = config_GetInt(getIntf(), "macosx-interfacestyle");
 
     if (_darkInterface) {
-        styleMask = NSBorderlessWindowMask | NSResizableWindowMask;
+        styleMask = NSBorderlessWindowMask | NSResizableWindowMask | NSMiniaturizableWindowMask;
     }
 
     self = [super initWithContentRect:contentRect styleMask:styleMask



More information about the vlc-commits mailing list