Commit ee3e5d56 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix crash when closing video window without decorations

parent 52dc9277
......@@ -94,6 +94,7 @@
BOOL b_no_video_deco_only = !b_video_wallpaper;
o_new_video_window = [[VLCVideoWindowCommon alloc] initWithContentRect:window_rect styleMask:mask backing:NSBackingStoreBuffered defer:YES];
[o_new_video_window setDelegate:o_new_video_window];
[o_new_video_window setReleasedWhenClosed: NO];
if (b_video_wallpaper)
[o_new_video_window setLevel:CGWindowLevelForKey(kCGDesktopWindowLevelKey) + 1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment