]> git.sesse.net Git - vlc/commitdiff
macosx: fix copy/paste error
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 12 Apr 2009 21:42:54 +0000 (23:42 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 12 Apr 2009 21:42:54 +0000 (23:42 +0200)
modules/gui/macosx/embeddedwindow.m

index e2ff658dc2204266b01a7167eb3056d8b06ea484..adcec67b8314e8b72f9f145ed18d0d3af06b4ec7 100644 (file)
         }
  
         /* Make sure we don't see the o_view disappearing of the screen during this operation */
-        NSEnableScreenUpdates();
+        NSDisableScreenUpdates();
                [[self contentView] replaceSubview:o_view with:o_temp_view];
         [o_temp_view setFrame:[o_view frame]];
         [o_fullscreen_window setContentView:o_view];
         [o_fullscreen_window makeKeyAndOrderFront:self];
-        NSDisableScreenUpdates();
+        NSEnableScreenUpdates();
     }
 
     /* We are in fullscreen (and no animation is running) */