[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:52:42 CEST 2010
vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr 28 00:48:18 2010 +0200| [20256d601da8b73f3942968ad3fefbd3b0354165] | committer: Jean-Baptiste Kempf
Fixed qt4 fullscreen behaviour with multiple monitors (win32 and linux).
(cherry picked from commit 391fdb6282da989042f5edc5a1bfeab3db5cc0f4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=20256d601da8b73f3942968ad3fefbd3b0354165
---
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