[vlc-devel] commit: macosx: fix copy/paste error ( Felix Paul Kühne )

git version control git at videolan.org
Sun Apr 12 23:42:57 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 12 23:42:54 2009 +0200| [afead23d452824a1e5ae0f61716c6a6ed22ebc8e] | committer: Felix Paul Kühne 

macosx: fix copy/paste error

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=afead23d452824a1e5ae0f61716c6a6ed22ebc8e
---

 modules/gui/macosx/embeddedwindow.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index e2ff658..adcec67 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) */




More information about the vlc-devel mailing list