[vlc-devel] [PATCH] qt: fix timetooltip appears outside the window on wayland

Rémi Denis-Courmont remi at remlab.net
Wed Dec 13 18:39:59 CET 2017


Le keskiviikkona 13. joulukuuta 2017, 18.06.26 EET Pierre Lamot a écrit :
> ---
>  modules/gui/qt/util/timetooltip.cpp | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/modules/gui/qt/util/timetooltip.cpp
> b/modules/gui/qt/util/timetooltip.cpp index 23d47b2528..f970cadbfa 100644
> --- a/modules/gui/qt/util/timetooltip.cpp
> +++ b/modules/gui/qt/util/timetooltip.cpp
> @@ -33,9 +33,7 @@
>  TimeTooltip::TimeTooltip( QWidget *parent ) :
>      QWidget( parent )
>  {
> -    setWindowFlags( Qt::Tool                    |
> -                    Qt::WindowStaysOnTopHint    |
> -                    Qt::FramelessWindowHint     );
> +    setWindowFlags( Qt::Tool | Qt::BypassGraphicsProxyWidget );
> 
>      // Tell Qt that it doesn't need to erase the background before
>      // a paintEvent occurs. This should save some CPU cycles.

Does this not reopen #17829 ?


-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list