[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:11:47 CEST 2011


vlc | branch: master | Andreas Schlick <schlick at lavabit.com> | Mon Apr 18 15:53:40 2011 +0200| [3311fb12660e8b3079526599d7fc14e830f5b09d] | 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>

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

 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 d390665..01efd91 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -675,7 +675,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