From afead23d452824a1e5ae0f61716c6a6ed22ebc8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Sun, 12 Apr 2009 23:42:54 +0200 Subject: [PATCH] macosx: fix copy/paste error --- modules/gui/macosx/embeddedwindow.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) */ -- 2.39.5