]> git.sesse.net Git - vlc/commitdiff
macosx: slightly the drawing of the mainwindow's shadow when using the black window...
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Feb 2012 15:19:43 +0000 (16:19 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Feb 2012 15:19:43 +0000 (16:19 +0100)
modules/gui/macosx/MainWindow.m

index af510f4dc268ac1ee3f5af76e991cd94ad59bbad..33011d09caae4818f4f044c05afe2e8a89ee5c1e 100644 (file)
@@ -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];