vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Sat Nov 1 13:13:51 2014 +0100| [f35a1b8311d2a8ac12dc2f419157c35768865711] | committer: Jean-Baptiste Kempf
Qt: prevent focus stealing on seekbar tooltip Why be consistent, Qt? Close #12671 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f35a1b8311d2a8ac12dc2f419157c35768865711 --- modules/gui/qt4/util/timetooltip.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp index 48a6879..bb472d7 100644 --- a/modules/gui/qt4/util/timetooltip.cpp +++ b/modules/gui/qt4/util/timetooltip.cpp @@ -36,7 +36,11 @@ TimeTooltip::TimeTooltip( QWidget *parent ) : setWindowFlags( Qt::Window | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | - Qt::X11BypassWindowManagerHint ); + Qt::X11BypassWindowManagerHint +#if HAS_QT5 + | Qt::WindowDoesNotAcceptFocus +#endif + ); // Tell Qt that it doesn't need to erase the background before // a paintEvent occurs. This should save some CPU cycles. _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
