[vlc-devel] [PATCH] Qt: Show TimeTooltip window without activating it on OS/2
KO Myung-Hun
komh78 at gmail.com
Tue Oct 9 12:24:41 CEST 2012
---
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 bf6eb87..1cff329 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -42,9 +42,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
More information about the vlc-devel
mailing list