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

Marvin Scholz git at videolan.org
Tue Jan 9 12:38:47 CET 2018


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jan  8 23:33:30 2018 +0100| [675a341670603ce2ac93291ce1277813b9befd1c] | committer: Jean-Baptiste Kempf

macosx: fix minimizability of dark style Window

Fix #19416

(cherry picked from commit bc404d17917b25ac378c7c840c72c683d81ce361)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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