[vlc-commits] Qt4: Tell the window manager to keep the fullscreen controller window on top.

Andreas Schlick git at videolan.org
Tue Apr 19 07:38:28 CEST 2011


vlc/vlc-1.1 | branch: master | Andreas Schlick <schlick at lavabit.com> | Mon Apr 18 15:53:40 2011 +0200| [1316f3b48ba5499a46015fa64ae08115a54e0365] | committer: Jean-Baptiste Kempf

Qt4: Tell the window manager to keep the fullscreen controller window on top.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 3311fb12660e8b3079526599d7fc14e830f5b09d)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index d722914..c4d5fa1 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -650,7 +650,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
     vout.clear();
 
 #ifdef Q_WS_X11
-    setWindowFlags( Qt::Window | Qt::FramelessWindowHint );
+    setWindowFlags( Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint );
     setWindowModality( Qt::ApplicationModal );
 #else
     setWindowFlags( Qt::ToolTip );



More information about the vlc-commits mailing list