[vlc-devel] commit: Qt: fix behaviour in F11 mode. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Apr 24 18:46:40 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 24 18:45:16 2009 +0200| [4386f499832d1cba421bd55ebc393b904b5c6e9c] | committer: Jean-Baptiste Kempf 

Qt: fix behaviour in F11 mode.

Close #1717

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

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

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 7678494..e48af0d 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -633,6 +633,8 @@ QSize MainInterface::sizeHint() const
  */
 void MainInterface::doComponentsUpdate()
 {
+    if( isFullScreen() ) return;
+
     msg_Dbg( p_intf, "Updating the geometry" );
     /* Here we resize to sizeHint() and not adjustsize because we want
        the videoWidget to be exactly the correctSize */




More information about the vlc-devel mailing list