vlc/vlc-1.2 | branch: master | Felix Paul Kühne <[email protected]> | Fri Dec 30 20:29:57 2011 +0100| [bf9b3dd598479ad98960b53337496e53bf1eda35] | committer: Jean-Baptiste Kempf
macosx: fixed round window corners when using the black UI mode (refs #5742) (cherry picked from commit c483088f7eeb5fdec26dd037b2370bcbf0e4f587) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=bf9b3dd598479ad98960b53337496e53bf1eda35 --- modules/gui/macosx/MainWindow.m | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 5d2f197..8a2da1a 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -393,6 +393,9 @@ static VLCMainWindow *_o_sharedInstance = nil; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowResizedOrMoved:) name: NSWindowDidResizeNotification object: nil]; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(windowResizedOrMoved:) name: NSWindowDidMoveNotification object: nil]; + [self setBackgroundColor: [NSColor clearColor]]; + [self setOpaque: NO]; + NSRect winrect; CGFloat f_titleBarHeight = [o_titlebar_view frame].size.height; winrect = [self frame]; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
