[vlc-commits] Qt: Solve issue with alwaysOnTop and fullscreen conflicting

Jean-Baptiste Kempf git at videolan.org
Wed May 25 10:55:23 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 25 10:54:35 2011 +0200| [ca0d201f5c025b81630e0ccd8a0976877fc05314] | committer: Jean-Baptiste Kempf

Qt: Solve issue with alwaysOnTop and fullscreen conflicting

Win32 only, for some reason (Qt bug?)
Close #3976

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

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 1c67e02..8705699 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -684,8 +684,8 @@ void MainInterface::setVideoOnTop( bool on_top )
         newflags = oldflags | Qt::WindowStaysOnTopHint;
     else
         newflags = oldflags & ~Qt::WindowStaysOnTopHint;
+    if( newflags != oldflags && !b_videoFullScreen )
 
-    if( newflags != oldflags )
     {
         setWindowFlags( newflags );
         show(); /* necessary to apply window flags */



More information about the vlc-commits mailing list