[vlc-commits] mac plugin: fix fullscreen vout alignment within firefox

Felix Paul Kühne git at videolan.org
Wed Jan 29 14:12:46 CET 2014


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 29 14:12:41 2014 +0100| [e60739a16c812c7f60f02263f092bac906ce0a66] | committer: Felix Paul Kühne

mac plugin: fix fullscreen vout alignment within firefox

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

 npapi/vlcplugin_mac.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index 2eaa697..76999db 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -151,7 +151,7 @@ void VlcPluginMac::toggle_fullscreen()
         if (!fullscreenWindow) {
             /* this window is kind of useless. however, we need to support 10.5, since enterFullScreenMode depends on the
              * existance of a parent window. This is solved in 10.6 and we should remove the window once we require it. */
-            fullscreenWindow = [[VLCFullscreenWindow alloc] initWithContentRect: NSMakeRect(npwindow.x, npwindow.y, npwindow.width, npwindow.height)];
+            fullscreenWindow = [[VLCFullscreenWindow alloc] initWithContentRect: NSMakeRect(0., 0., npwindow.width, npwindow.height)];
             [fullscreenWindow setLevel: CGShieldingWindowLevel()];
             fullscreenView = [fullscreenWindow customContentView];
 



More information about the vlc-commits mailing list