[vlc-commits] macosx: slightly the drawing of the mainwindow' s shadow when using the black window style

Felix Paul Kühne git at videolan.org
Fri Feb 17 16:20:17 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb 17 16:19:43 2012 +0100| [1307499d35dbc1c7310232ebef64b7c7d4106dbb] | committer: Felix Paul Kühne

macosx: slightly the drawing of the mainwindow's shadow when using the black window style
(cherry picked from commit 3e25b175e26f489d25553b39086efca22cb2dff8)

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

 modules/gui/macosx/MainWindow.m |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 5939ef9..5d42e6a 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -421,6 +421,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
         [self setBackgroundColor: [NSColor clearColor]];
         [self setOpaque: NO];
+        [self display];
+        [self setHasShadow:NO];
         [self setHasShadow:YES];
 
         NSRect winrect = [self frame];



More information about the vlc-commits mailing list