[vlc-commits] commit: Fixed qt4 fullscreen behaviour with multiple	monitors ( win32 and linux). (Laurent Aimar )
    git at videolan.org 
    git at videolan.org
       
    Wed Apr 28 00:49:27 CEST 2010
    
    
  
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr 28 00:48:18 2010 +0200| [391fdb6282da989042f5edc5a1bfeab3db5cc0f4] | committer: Laurent Aimar 
Fixed qt4 fullscreen behaviour with multiple monitors (win32 and linux).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=391fdb6282da989042f5edc5a1bfeab3db5cc0f4
---
 modules/gui/qt4/components/interface_widgets.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 0539424..ef729f2 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -215,14 +215,14 @@ void VideoWidget::SetFullScreen( bool b_fs )
 
         QRect screenres = QApplication::desktop()->screenGeometry( numscreen );
 
-        reparentable->setParent( NULL, newflags );
-        reparentable->setWindowState( newstate );
         /* To be sure window is on proper-screen in xinerama */
         if( !screenres.contains( reparentable->pos() ) )
         {
             msg_Dbg( p_intf, "Moving video to correct screen");
             reparentable->move( QPoint( screenres.x(), screenres.y() ) );
         }
+        reparentable->setParent( NULL, newflags );
+        reparentable->setWindowState( newstate );
         reparentable->show();
     }
     else
    
    
More information about the vlc-commits
mailing list