Commit 25febaf4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: prevent focus stealing on seekbar tooltip

Why be consistent, Qt?

Close #12671

(cherry picked from commit f35a1b8311d2a8ac12dc2f419157c35768865711)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9c90f114
...@@ -36,7 +36,11 @@ TimeTooltip::TimeTooltip( QWidget *parent ) : ...@@ -36,7 +36,11 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
setWindowFlags( Qt::Window | setWindowFlags( Qt::Window |
Qt::WindowStaysOnTopHint | Qt::WindowStaysOnTopHint |
Qt::FramelessWindowHint | Qt::FramelessWindowHint |
Qt::X11BypassWindowManagerHint ); Qt::X11BypassWindowManagerHint
#if HAS_QT5
| Qt::WindowDoesNotAcceptFocus
#endif
);
// Tell Qt that it doesn't need to erase the background before // Tell Qt that it doesn't need to erase the background before
// a paintEvent occurs. This should save some CPU cycles. // a paintEvent occurs. This should save some CPU cycles.
......
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