vlc | branch: master | Felix Paul Kühne <[email protected]> | 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];

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to