>From 8cf959aa37bbc3fbba04ec94dcc695295490ad10 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh78@gmail.com>
Date: Tue, 9 Oct 2012 19:24:41 +0900
Subject: [PATCH] Qt: Show TimeTooltip window without activating it on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 5f0e2c0921d9ae4c942bfc801e421999d05d602e)

Signed-off-by: KO Myung-Hun <komh@chollian.net>
---
 modules/gui/qt4/util/timetooltip.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index 4613680..281b383 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -41,9 +41,9 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
     // a paintEvent occurs. This should save some CPU cycles.
     setAttribute( Qt::WA_OpaquePaintEvent );
 
-#ifdef Q_WS_WIN
+#if defined( Q_WS_WIN ) || defined( Q_WS_PM )
     /*
-    - This attribute is required on Windows to avoid focus stealing of other windows.
+    - This attribute is required on Windows and OS/2 to avoid focus stealing of other windows.
     - When set on Linux the TimeTooltip appears behind the FSController in fullscreen.
     */
     setAttribute( Qt::WA_ShowWithoutActivating );
-- 
1.7.3.2

