From: Felix Paul Kühne Date: Sun, 12 Apr 2009 21:42:54 +0000 (+0200) Subject: macosx: fix copy/paste error X-Git-Tag: 1.0.0-pre2~85 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=afead23d452824a1e5ae0f61716c6a6ed22ebc8e;p=vlc macosx: fix copy/paste error --- diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m index e2ff658dc2..adcec67b83 100644 --- a/modules/gui/macosx/embeddedwindow.m +++ b/modules/gui/macosx/embeddedwindow.m @@ -305,12 +305,12 @@ } /* 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) */