[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:19:47 CET 2012


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

macosx: slightly the drawing of the mainwindow's shadow when using the black window style

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

 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 af510f4..33011d0 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