* don't double free an object! Thanks to nivix for pointing me to the right direction...
[vlc.git] / modules / gui / macosx / fspanel.m
index 90a236a..701f7a7 100644 (file)
@@ -48,7 +48,7 @@
     [win setBackgroundColor:[NSColor clearColor]];\r
     \r
     /* let the window sit on top of everything else and start out completely transparent */\r
-    [win setLevel:NSFloatingWindowLevel];\r
+    [win setLevel:NSModalPanelWindowLevel];\r
     [win setAlphaValue:0.0];\r
     i_device = 0;\r
 \r
     {\r
         b_keptVisible = NO;\r
         b_fadeQueued = NO;\r
-        [[self fadeTimer] release];\r
         [self setFadeTimer: NULL];\r
         [self fadeIn];\r
         return;\r