1374
1378
/* We can't change the styleMask of an already created NSWindow, so we create another window, and do eye catching stuff */
1376
1380
rect = [[o_video_view superview] convertRect: [o_video_view frame] toView: nil]; /* Convert to Window base coord */
1379
1383
o_fullscreen_window = [[VLCWindow alloc] initWithContentRect:rect styleMask: NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES];
1380
1385
[o_fullscreen_window setBackgroundColor: [NSColor blackColor]];
1381
1386
[o_fullscreen_window setCanBecomeKeyWindow: YES];
1385
1390
/* We don't animate if we are not visible, instead we
1386
1391
* simply fade the display */