Commit 5f0e2c09 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

Qt: Show TimeTooltip window without activating it on OS/2

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d473eeed
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment